 |
|
|
| |
1 ## Process this file with automake to produce Makefile.in
2
3 # Package: am-utils
4 # Level: Makefile for doc/ directory
5 # Author: Erez Zadok
6
7 @SET_MAKE@
8
9 info_TEXINFOS = am-utils.texi
10
11 EXTRA_DIST = hlfsd.ps
12
13 # force generation of 'letter' format PS and embed Type-3 fonts
14 # (our European allies may object...)
15 DVIPS = dvips -t letter -Pcmz
16
17 # Force version.texi to be rebuilt regardless of maintainer mode
18 $(srcdir)/version.texi: am-utils.texi $(top_srcdir)/configure.in
19 @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/am-utils.texi`; \
20 echo "@set UPDATED $$1 $$2 $$3"; \
21 echo "@set UPDATED-MONTH $$2 $$3"; \
22 echo "@set EDITION $(VERSION)"; \
23 echo "@set VERSION $(VERSION)") > vti.tmp
24 @cmp -s vti.tmp $(srcdir)/version.texi \
25 || (echo "Updating $(srcdir)/version.texi"; \
26 cp vti.tmp $(srcdir)/version.texi)
27 -@rm -f vti.tmp
28
29 # include dvi/ps in distribution
30 dist-hook: am-utils.dvi am-utils.ps
31 cp -p $^ $(distdir)
32
33 # a special target for making Postscript files
34 ps: am-utils.dvi am-utils.ps
35
36 am-utils-clean: clean maintainer-clean-aminfo maintainer-clean-vti
37
38 # personal rule for Erez Zadok to generate and install html docs
39 alldocs: ps install-NEWS install-INSTALL install-ChangeLog install-AUTHORS install-tasks install-autofs install-y2k install-ldap install-osx install-BUGS install-FAQ install-html install-ps install-MIRRORS
40
41 AMU_HTML_TOP=$(HOME)/proj/www/docs/am-utils
42 install-html: $(AMU_HTML_TOP)/am-utils-all.html
43 $(AMU_HTML_TOP)/am-utils-all.html: am-utils.texi
44 texi2html -Verbose -expand info -number -out_file am-utils-all.html $<
45 texi2html -frames -Verbose -expand info -number -split chapter $<
46 mv *.html $(AMU_HTML_TOP)
47 chmod -R a+r $(AMU_HTML_TOP)
48
49 install-ps: $(AMU_HTML_TOP)/am-utils.ps
50 $(AMU_HTML_TOP)/am-utils.ps: am-utils.ps
51 install -c -m 644 $< $@
52
53 install-NEWS: $(AMU_HTML_TOP)/NEWS.txt
54 $(AMU_HTML_TOP)/NEWS.txt: $(top_srcdir)/NEWS
55 install -c -m 644 $< $@
56
57 install-INSTALL: $(AMU_HTML_TOP)/INSTALL.txt
58 $(AMU_HTML_TOP)/INSTALL.txt: $(top_srcdir)/INSTALL
59 install -c -m 644 $< $@
60
61 install-ChangeLog: $(AMU_HTML_TOP)/ChangeLog.txt
62 $(AMU_HTML_TOP)/ChangeLog.txt: $(top_srcdir)/ChangeLog
63 install -c -m 644 $< $@
64
65 install-AUTHORS: $(AMU_HTML_TOP)/AUTHORS.txt
66 $(AMU_HTML_TOP)/AUTHORS.txt: $(top_srcdir)/AUTHORS
67 install -c -m 644 $< $@
68
69 install-tasks: $(AMU_HTML_TOP)/tasks.txt
70 $(AMU_HTML_TOP)/tasks.txt: $(top_srcdir)/tasks
71 install -c -m 644 $< $@
72
73 install-autofs: $(AMU_HTML_TOP)/autofs.txt
74 $(AMU_HTML_TOP)/autofs.txt: $(top_srcdir)/README.autofs
75 install -c -m 644 $< $@
76
77 install-y2k: $(AMU_HTML_TOP)/y2k.txt
78 $(AMU_HTML_TOP)/y2k.txt: $(top_srcdir)/README.y2k
79 install -c -m 644 $< $@
80
81 install-ldap: $(AMU_HTML_TOP)/ldap.txt
82 $(AMU_HTML_TOP)/ldap.txt: $(top_srcdir)/README.ldap
83 install -c -m 644 $< $@
84
85 install-osx: $(AMU_HTML_TOP)/osx.txt
86 $(AMU_HTML_TOP)/osx.txt: $(top_srcdir)/README.osx
87 install -c -m 644 $< $@
88
89 install-BUGS: $(AMU_HTML_TOP)/BUGS.txt
90 $(AMU_HTML_TOP)/BUGS.txt: $(top_srcdir)/BUGS
91 install -c -m 644 $< $@
92
93 install-FAQ: $(AMU_HTML_TOP)/FAQ.txt
94 $(AMU_HTML_TOP)/FAQ.txt: $(top_srcdir)/FAQ
95 install -c -m 644 $< $@
96
97 install-MIRRORS: $(AMU_HTML_TOP)/MIRRORS.txt $(AMU_HTML_TOP)/MIRRORS.html
98 $(AMU_HTML_TOP)/MIRRORS.txt: $(top_srcdir)/MIRRORS.txt
99 install -c -m 644 $< $@
100 $(AMU_HTML_TOP)/MIRRORS.html: $(top_srcdir)/MIRRORS.html
101 install -c -m 644 $< $@