summaryrefslogtreecommitdiff
path: root/doc/man/Makefile.am
blob: 117d12bad15741a1e5e5e52e31ac40d6f7a01c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dist_man_MANS = pwmake.1 pwscore.1 pwquality.conf.5 pwquality.3

if HAVE_PAM
dist_man_MANS += pam_pwquality.8
endif

EXTRA_DIST=pam_pwquality.8.pod pwmake.1.pod pwscore.1.pod pwquality.conf.5.pod pwquality.3.pod

%.8: %.8.pod
	bash -c 'declare -u ucname=$*; pod2man --utf8 --name="$$ucname" --section=8 --center="Linux-PAM Manual" --release="Red Hat, Inc." $< $@'

%.1: %.1.pod
	bash -c 'declare -u ucname=$*; pod2man --utf8 --name="$$ucname" --section=1 --center="General Commands Manual" --release="Red Hat, Inc." $< $@'

%.5: %.5.pod
	bash -c 'declare -u ucname=$*; pod2man --utf8 --name="$$ucname" --section=5 --center="File Formats Manual" --release="Red Hat, Inc." $< $@'

%.3: %.3.pod
	bash -c 'declare -u ucname=$*; pod2man --utf8 --name="$$ucname" --section=5 --center="Libpwquality API Manual" --release="Red Hat, Inc." $< $@'

manclean:
	rm *.8 *.1 *.5 *.3