Makefile.am 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Makefile for GNU tar documentation.
  2. # Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2006 Free
  3. # Software Foundation, Inc.
  4. ## This program is free software; you can redistribute it and/or modify
  5. ## it under the terms of the GNU General Public License as published by
  6. ## the Free Software Foundation; either version 2, or (at your option)
  7. ## any later version.
  8. ## This program is distributed in the hope that it will be useful,
  9. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. ## GNU General Public License for more details.
  12. ## You should have received a copy of the GNU General Public License
  13. ## along with this program; if not, write to the Free Software Foundation,
  14. ## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  15. info_TEXINFOS = tar.texi
  16. tar_TEXINFOS = \
  17. dumpdir.texi\
  18. fdl.texi\
  19. freemanuals.texi\
  20. genfile.texi\
  21. getdate.texi\
  22. intern.texi\
  23. header.texi\
  24. rendition.texi\
  25. snapshot.texi\
  26. value.texi
  27. EXTRA_DIST = gendocs_template texify.sed
  28. DISTCLEANFILES=*.info*
  29. # The rendering level is anyone of PUBLISH, DISTRIB or PROOF.
  30. # Just call `make RENDITION=PROOF [target]' if you want PROOF rendition.
  31. RENDITION = DISTRIB
  32. MAKEINFOFLAGS=-D$(RENDITION)
  33. header.texi: $(top_srcdir)/src/tar.h
  34. sed -f $(srcdir)/texify.sed $(top_srcdir)/src/tar.h \
  35. | expand >$@
  36. clean-local:
  37. rm -rf manual
  38. GENDOCS=gendocs.sh
  39. TEXI2DVI=texi2dvi -t '@set $(RENDITION)' -E
  40. # Make sure you set TEXINPUTS
  41. # Usual value is:
  42. # /usr/share/texmf/pdftex/plain/misc:/usr/share/texmf/pdftex/config
  43. manual:
  44. TEXINPUTS=$(srcdir):$(top_srcdir)/config:$(TEXINPUTS) \
  45. MAKEINFO="$(MAKEINFO) $(MAKEINFOFLAGS)" \
  46. TEXI2DVI="$(TEXI2DVI) -t @finalout" \
  47. $(GENDOCS) tar 'GNU tar manual'