Re: doc-base and obnoxious unknown format warnings
> "Adam" == Adam Di Carlo <[EMAIL PROTECTED]> writes: > "Ben" == Ben Gertzfield <[EMAIL PROTECTED]> writes: > "Joey" == Joey Hess <[EMAIL PROTECTED]> writes: Joey> "warning: ignoring unknown format `$$format_data{'format'}'" Joey> if $ENV{DOC_BASE_GRIPE}; } Ben> This is a nice solution. Adam> Well, actually, in tonight's upload, I only enabled this Adam> warning if the -v or --verbose switch it used. Much Adam> cleaner. I hate env vars anyway. Fine by me! :) -- Brought to you by the letters E and L and the number 0. "What's green and sits in the corner? ... A naughty frog!" Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/ I'm on FurryMUCK as Che, and EFNet/Open Projects IRC as Che_Fox.
Re: doc-base and obnoxious unknown format warnings
> "Ben" == Ben Gertzfield <[EMAIL PROTECTED]> writes: > "Joey" == Joey Hess <[EMAIL PROTECTED]> writes: Joey> "warning: ignoring unknown format `$$format_data{'format'}'" if Joey> $ENV{DOC_BASE_GRIPE}; } Ben> This is a nice solution. Well, actually, in tonight's upload, I only enabled this warning if the -v or --verbose switch it used. Much cleaner. I hate env vars anyway. -- .Adam Di [EMAIL PROTECTED]http://www.onShore.com/>
Re: doc-base and obnoxious unknown format warnings
> "Joey" == Joey Hess <[EMAIL PROTECTED]> writes: Joey> "warning: ignoring unknown format `$$format_data{'format'}'" Joey> if $ENV{DOC_BASE_GRIPE}; } This is a nice solution. -- Brought to you by the letters G and B and the number 7. "When you had it, you didn't want it. Now you ain't got it, you want it back." Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/ I'm on FurryMUCK as Che, and EFNet/Open Projects IRC as Che_Fox.
Re: doc-base and obnoxious unknown format warnings
> "Adam" == Adam Di Carlo <[EMAIL PROTECTED]> writes: Adam> Geeze -- ok, I'll fix it tonight. Thanks! I didn't mean to sound concilatory, but it seems a lot of packages have a lot of doc-base warnings these days.. -- Brought to you by the letters N and P and the number 19. "You should be glad you don't have diaper rash. Mah Jongg." Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/ I'm on FurryMUCK as Che, and EFNet/Open Projects IRC as Che_Fox.
Re: doc-base and obnoxious unknown format warnings
In message <[EMAIL PROTECTED]> you wrote: >I've been noticing that, even though we're all encouraged to use >doc-base nowadays, that doc-base emits noxious and obnoxious warnings >whenever it sees a format it doesn't recognize. > >I've just adapted libgtk1.2-doc to use doc-base, and on EVERY install >or removal, I get: [...] >Ugh! Geeze -- ok, I'll fix it tonight. -- .Adam Di [EMAIL PROTECTED]http://www.onShore.com/>
Re: doc-base and obnoxious unknown format warnings
Ben Gertzfield wrote: > Is there any way we can make the default for doc-base to *not* warn on > these unknown formats? Frankly, it's just ugly as all get-out. :) --- /usr/sbin/install-docs Sat Jan 2 01:48:28 1999 +++ ./install-docs Wed May 12 15:27:12 1999 @@ -624,7 +624,7 @@ } elsif ($$format_data{'format'} eq 'text') { # no additional fields required } else { - warn "warning: ignoring unknown format `$$format_data{'format'}'"; + warn "warning: ignoring unknown format `$$format_data{'format'}'" if $ENV{DOC_BASE_GRIPE}; } -- see shy jo