3 # Creates man pages for the NSS security tools
5 # pk12util, certutil, modutil, ssltap,
6 # signtool, signver, cmsutil, crlutil,
7 # derdump, pp, vfychain, vfyserv
10 .SUFFIXES: .html .txt .1 .xml
12 COMPILE.1 = xmlto -o nroff man
13 COMPILE.html = xmlto -o html html
15 # the name of the tar ball
17 date = `date +"%Y%m%d"`
19 all: prepare all-man all-html
21 prepare: date-and-version
26 rm -f date.xml version.xml *.tar.bz2
30 date-and-version: date.xml version.xml
33 date +"%e %B %Y" | tr -d '\n' > $@
36 echo -n ${VERSION} > $@
42 #------------------------------------------
43 # Package a tar ball for building in fedora
44 # Include the makefile and .xml files only
45 # man pages will be created at build time
46 #------------------------------------------
50 mkdir -p $(name)/nroff; \
51 cp Makefile $(name); \
53 tar cvjf $(name)-$(date).tar.bz2 $(name)
55 #--------------------------------------------------------
57 #--------------------------------------------------------
63 nroff/certutil.1 nroff/cmsutil.1 nroff/crlutil.1 nroff/pk12util.1 \
64 nroff/modutil.1 nroff/ssltap.1 nroff/derdump.1 nroff/signtool.1 nroff/signver.1 \
65 nroff/pp.1 nroff/vfychain.1 nroff/vfyserv.1
67 all-man: prepare $(MANPAGES)
69 #--------------------------------------------------------
71 #--------------------------------------------------------
78 html/certutil.html html/cmsutil.html html/crlutil.html html/pk12util.html html/modutil.html \
79 html/ssltap.html html/derdump.html html/signtool.html html/signver.html html/pp.html \
80 html/vfychain.html html/vfyserv.html
82 all-html: prepare $(HTMLPAGES)