-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile.am
36 lines (33 loc) · 1.22 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
SUBDIRS = AMMUNITION SPRUT MSTA SHILKA ONIGURUMA DINO NONA OKA
dist_doc_DATA = cocom.txt cocom.ps cocom.pdf cocom.dvi cocom.info\
cocom.html
EXTRA_DIST = README.md Dino.jpg Dino_Flow.png INSTALL copyright COPYING COPYING.LIB cocom.sgml.in
distclean-local:
rm -f cocom.sgml cocom.tex cocom.log cocom.aux cocom.toc cocom.tmp cocom.out
doc: cocom-doc
for i in AMMUNITION SPRUT MSTA SHILKA DINO NONA OKA;do (cd $$i && $(MAKE) doc);done
cocom-doc:
cp $(srcdir)/cocom.sgml.in cocom.sgml
linuxdoc -B txt --papersize=letter -f cocom.sgml
mv cocom.txt $(srcdir)
linuxdoc -B html --papersize=letter cocom.sgml
if test -f cocom-1.html;then\
for i in cocom-*.html;do\
mv $$i $(srcdir)/$$i;\
done;\
fi
mv cocom.html $(srcdir)/cocom.html
linuxdoc -B info --papersize=letter cocom.sgml
if test -f cocom.info;then\
for i in cocom.info*;do\
mv $$i $(srcdir)/$$i;\
done;\
fi
linuxdoc -B latex --papersize=letter cocom.sgml
if test ! -f cocom.dvi\
-o -f cocom.tex -a cocom.tex -nt cocom.dvi; then\
latex cocom.tex; latex cocom.tex;\
fi
mv cocom.dvi $(srcdir)/cocom.dvi
dvips -o $(srcdir)/cocom.ps $(srcdir)/cocom.dvi
ps2pdf $(srcdir)/cocom.ps $(srcdir)/cocom.pdf