summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: 8be224b0c01a59b64c4ac40f41b41aef06472f27 (plain)
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
37
38
39
40
41
42
## Process this file with automake to create Makefile.in

EXTRA_DIST = DETAILS gpg.1pod gpg.1 FAQ HACKING OpenPGP

man_MANS = gpg.1



install-data-hook:
	 if test -f $(man1dir)/gpgm.1; then rm $(man1dir)/gpgm.1; fi
	 ln -s $(man1dir)/gpg.1 $(man1dir)/gpgm.1 \
	    || ln $(man1dir)/gpg.1 $(man1dir)/gpgm.1



%: %pod
	 pod2man $< --section=`echo $@ | sed 's/^.*(?)$$/$$&/'`\
		    --release="`date -r $< '+%d %b %Y'`"\
		    --center="GNU Tools"  --date=' '\
		     >$@,$$$$ && mv -f $@,$$$$ $@\
		    || rm -f $@,$$$$



%.txt : %.sgml
	 sgml2txt -c latin $*

%.html : %.sgml
	 sgml2html -l deutsch -c latin $*

%.dvi : %.sgml
	-rm $*.sgml.tmp
	mv $*.sgml $*.sgml.tmp
	sed -e '/<!entity/  s/"IGNORE">/"INCLUDE">/' $*.sgml.tmp >$*.sgml
	sgml2latex -b -l deutsch -c latin $* ; mv $*.sgml.tmp $*.sgml

%.ps : %.sgml
	-rm $*.sgml.tmp
	mv $*.sgml $*.sgml.tmp
	sed -e '/<!entity/  s/"IGNORE">/"INCLUDE">/' $*.sgml.tmp >$*.sgml
	sgml2latex -b -l deutsch -c latin -o ps $* ; mv $*.sgml.tmp $*.sgml