]> Dogcows Code - chaz/tar/blob - doc/Makefile.am
(to_chars): Remove trailing newline from warning.
[chaz/tar] / doc / Makefile.am
1 # Makefile for GNU tar documentation.
2 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
3
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
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18 AUTOMAKE_OPTIONS = gnits
19 info_TEXINFOS = tar.texi
20
21 EXTRA_DIST = convtexi.pl getdate.texi header.texi
22
23 CLEANFILES = tmp-*
24
25 # The rendering level is anyone of PUBLISH, DISTRIB or PROOF.
26 # Just call `make dvi RENDITION=PROOF' if you want PROOF rendition.
27 RENDITION = DISTRIB
28
29 tar.info: tar.texi getdate.texi header.texi version.texi
30 @echo "WARNING: \`makeinfo' will not preprocess Texinfo input properly"
31 @echo " for expanding Texinfo macros, if it comes from a"
32 @echo " Texinfo distribution which is earlier than version 3.7."
33 cd $(srcdir) && $(MAKEINFO) -D$(RENDITION) tar.texi
34
35 tar.dvi: tar.texi getdate.texi header.texi version.texi
36 @echo "WARNING: \`makeinfo' will not preprocess Texinfo input properly"
37 @echo " for expanding Texinfo macros, if it comes from a"
38 @echo " Texinfo distribution which is earlier than version 3.7."
39 $(MAKEINFO) -D$(RENDITION) -Etmp-tar.tmp -otmp-tar.info \
40 -I$(srcdir) tar.texi
41 rm -f tmp-tar.sed tmp-tar.info*
42 test $(RENDITION) = DISTRIB \
43 || echo >>tmp-tar.sed 's/^@set DISTRIB/@set $(RENDITION)/'
44 test $(RENDITION) = PUBLISH \
45 || echo >>tmp-tar.sed '/^@smallbook/d'
46 sed -f tmp-tar.sed tmp-tar.tmp > tmp-tar.texi
47 rm -f tmp-tar.sed tmp-tar.tmp
48 TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) tmp-tar.texi
49 mv tmp-tar.dvi $@
50
51 header.texi: $(top_srcdir)/src/tar.h
52 sed -n '/Archive Format/,/End of Format/p' $(top_srcdir)/src/tar.h \
53 | expand | sed 's/\([{}]\)/@\1/g' > $(srcdir)/header.texi
This page took 0.040175 seconds and 4 git commands to generate.