diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-07-16 07:47:10 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-07-16 07:47:10 +0000 |
commit | b0ee6760d9a625a2e5a95d4dcad6145602743019 (patch) | |
tree | 660f91effbb13d59db9977b85f44cbe9b02ce232 /Build/source | |
parent | 4edae948257e9eea90d1878e4cec169c63696d10 (diff) |
avoid compiler warning
rebuild dvilj.man only in maintainer-mode (requires pod2man)
git-svn-id: svn://tug.org/texlive/trunk@14274 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/dviljk/ChangeLog | 8 | ||||
-rw-r--r-- | Build/source/texk/dviljk/Makefile.am | 2 | ||||
-rw-r--r-- | Build/source/texk/dviljk/Makefile.in | 4 | ||||
-rw-r--r-- | Build/source/texk/dviljk/dvi2xx.c | 2 |
4 files changed, 13 insertions, 3 deletions
diff --git a/Build/source/texk/dviljk/ChangeLog b/Build/source/texk/dviljk/ChangeLog index d2000373be0..9d8d50611cf 100644 --- a/Build/source/texk/dviljk/ChangeLog +++ b/Build/source/texk/dviljk/ChangeLog @@ -1,3 +1,11 @@ +2009-07-16 Peter Breitenlohner <peb@mppmu.mpg.de> + + * Makefile.am (dvilj.man): rebuild only in maintainer-mode. + +2009-07-15 Peter Breitenlohner <peb@mppmu.mpg.de> + + * dvi2xx.c: use '(void)AssureBinary' to avoid compiler warning. + 2009-06-18 Peter Breitenlohner <peb@mppmu.mpg.de> * config.h, dvi2xx.c, dvi2xx.h, tfm.c, tfm.h: diff --git a/Build/source/texk/dviljk/Makefile.am b/Build/source/texk/dviljk/Makefile.am index 5f7a3df8222..83676bab0a6 100644 --- a/Build/source/texk/dviljk/Makefile.am +++ b/Build/source/texk/dviljk/Makefile.am @@ -76,8 +76,10 @@ uninstall-hook: for f in $(man1_links); do rm -f $(DESTDIR)$(man1dir)/$$f; done VERSION = `grep 'define VERSION' $(srcdir)/dvi2xx.c | sed -e 's/^.*version //' -e 's/).*//'` +if MAINTAINER_MODE dvilj.man: dvilj.pod dvi2xx.c pod2man --center="TeX-Live" --release="Version $(VERSION)" $< >$@ +endif MAINTAINER_MODE dvilj.ps: dvilj.man man -t -l $< >$@ diff --git a/Build/source/texk/dviljk/Makefile.in b/Build/source/texk/dviljk/Makefile.in index 1eaf27d21ca..91c1aceba9a 100644 --- a/Build/source/texk/dviljk/Makefile.in +++ b/Build/source/texk/dviljk/Makefile.in @@ -959,8 +959,8 @@ install-data-hook: uninstall-hook: rm -f $(DESTDIR)$(bindir)/dvilj6$(EXEEXT) for f in $(man1_links); do rm -f $(DESTDIR)$(man1dir)/$$f; done -dvilj.man: dvilj.pod dvi2xx.c - pod2man --center="TeX-Live" --release="Version $(VERSION)" $< >$@ +@MAINTAINER_MODE_TRUE@dvilj.man: dvilj.pod dvi2xx.c +@MAINTAINER_MODE_TRUE@ pod2man --center="TeX-Live" --release="Version $(VERSION)" $< >$@ dvilj.ps: dvilj.man man -t -l $< >$@ diff --git a/Build/source/texk/dviljk/dvi2xx.c b/Build/source/texk/dviljk/dvi2xx.c index 31095f26c86..0fedea81632 100644 --- a/Build/source/texk/dviljk/dvi2xx.c +++ b/Build/source/texk/dviljk/dvi2xx.c @@ -233,7 +233,7 @@ main(int argc, char *argv[]) in TEXT mode, and we need to switch it to binary, unless they are writing to the screen (in which case they get what they deserve). */ if (O_BINARY && !isatty(fileno(outfp))) - AssureBinary(fileno(outfp)); + (void)AssureBinary(fileno(outfp)); #ifdef TIMING #ifdef BSD_TIME_CALLS |