aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: 2387ae8cdc9a623bb5a6527119a163b6092f813e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SUBDIRS = api

EXTRA_DIST = ncpd.man.in plpnfsd.man.in plpftp.man.in

man_MANS = ncpd.8 plpnfsd.8 plpftp.1

%.1: %.man
	MANDATE=`grep CHECKIN $< | $(AWK) '{print $$4}'` ; \
	$(SED) -e "s%@MANDATE@%$$MANDATE%g" $< > $@

%.8: %.man
	MANDATE=`grep CHECKIN $< | $(AWK) '{print $$4}'` ; \
	$(SED) -e "s%@MANDATE@%$$MANDATE%g" $< > $@

#
# remove all intermediate files that can be recreated using
# Makefile.cvs
#
maintainer-clean-local:
	rm -f Makefile.in *.1 *.8