]> Dogcows Code - chaz/tar/blob - doc/Makefile.am
(tar.dvi): Fixed TEXINPUTS value.
[chaz/tar] / doc / Makefile.am
1 # Makefile for GNU tar documentation.
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003 Free
4 # Software Foundation, Inc.
5
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2, or (at your option)
9 ## any later version.
10
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ## GNU General Public License for more details.
15
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software Foundation,
18 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20 info_TEXINFOS = tar.texi
21
22 EXTRA_DIST = convtexi.pl fdl.texi freemanuals.texi getdate.texi header.texi
23
24 CLEANFILES = tmp-*
25
26 # The rendering level is anyone of PUBLISH, DISTRIB or PROOF.
27 # Just call `make dvi RENDITION=PROOF' if you want PROOF rendition.
28 RENDITION = DISTRIB
29
30 $(srcdir)/tar.info: tar.texi fdl.texi freemanuals.texi getdate.texi \
31 $(srcdir)/header.texi version.texi
32 $(MAKEINFO) --no-split -D$(RENDITION) -I$(srcdir) tar.texi -o $@
33
34 tar.dvi: tar.texi getdate.texi $(srcdir)/header.texi version.texi
35 $(MAKEINFO) -D$(RENDITION) -Etmp-tar.tmp -otmp-tar.info \
36 -I$(srcdir) tar.texi
37 rm -f tmp-tar.sed tmp-tar.info*
38 test $(RENDITION) = DISTRIB \
39 || echo >>tmp-tar.sed 's/^@set DISTRIB/@set $(RENDITION)/'
40 test $(RENDITION) = PUBLISH \
41 || echo >>tmp-tar.sed '/^@smallbook/d'
42 sed -f tmp-tar.sed tmp-tar.tmp > tmp-tar.texi
43 rm -f tmp-tar.sed tmp-tar.tmp
44 TEXINPUTS=$(top_srcdir)/config:$$TEXINPUTS \
45 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
46 $(TEXI2DVI) tmp-tar.texi
47 mv tmp-tar.dvi $@
48
49 $(srcdir)/header.texi: $(top_srcdir)/src/tar.h
50 sed -n '/Archive Format/,/End of Format/p' $(top_srcdir)/src/tar.h \
51 | expand | sed 's/\([{}]\)/@\1/g' >$@
This page took 0.037802 seconds and 5 git commands to generate.