RetroZilla/security/nss/doc/Makefile
roytam1 a572ea8ca3 cherry-picked mozilla NSS upstream changes (to rev 82de44ead36f, which is on par with 3.18):
bug1095307, bug1073330(backout), bug1084986, bug1050069, bug942172, bug1054547, bug532081, bug1096348, bug1058870, bug1093940, bug1102985, bug1112461, bug1094492, bug112029, bug1119983, bug1120685, bug1120691, bug1113632, bug863076, bug1082973, bug1124539, bug1117617, bug1117621, bug1121273, bug753136, bug921684, bug1132818, bug1125375, bug647690, bug1055441, bug1134455, bug975010, bug950369, bug1128367, bug1129573, bug1136095, bug1117897, bug1113453, bug1061725, bug1073330, bug1111901, bug1083900, bug1136095, bug1138820, bug1096741, bug1134548, bug345725, bug950348, bug950344, bug1151037, bug991783, bug1153994
2018-07-14 21:22:30 +08:00

70 lines
1.5 KiB
Makefile

#! gmake
#
# Creates man pages for the NSS security tools
#
# pk12util, certutil, modutil, ssltap,
# signtool, signver, cmsutil, crlutil,
# derdump, pp, vfychain, vfyserv
#
.SUFFIXES: .html .txt .1 .xml
COMPILE.1 = xmlto -o nroff man
COMPILE.html = xmlto -o html html
# the name of the tar ball
name = nss-man
date = `date +"%Y%m%d"`
all: prepare all-man all-html
prepare: date-and-version
mkdir -p html
mkdir -p nroff
clean:
rm -f date.xml version.xml *.tar.bz2
rm -f html/*.proc
rm -fr $(name) ascii
date-and-version: date.xml version.xml
date.xml:
date +"%e %B %Y" | tr -d '\n' > $@
version.xml:
echo -n ${VERSION} > $@
.PHONY : $(MANPAGES)
.PHONY : $(HTMLPAGES)
.PHONY : $(TXTPAGES)
#--------------------------------------------------------
# manpages
#--------------------------------------------------------
nroff/%.1 : %.xml
$(COMPILE.1) $<
MANPAGES = \
nroff/certutil.1 nroff/cmsutil.1 nroff/crlutil.1 nroff/pk12util.1 \
nroff/modutil.1 nroff/ssltap.1 nroff/derdump.1 nroff/signtool.1 nroff/signver.1 \
nroff/pp.1 nroff/vfychain.1 nroff/vfyserv.1
all-man: prepare $(MANPAGES)
#--------------------------------------------------------
# html pages
#--------------------------------------------------------
html/%.html : %.xml
$(COMPILE.html) $<
mv html/index.html $@
HTMLPAGES = \
html/certutil.html html/cmsutil.html html/crlutil.html html/pk12util.html html/modutil.html \
html/ssltap.html html/derdump.html html/signtool.html html/signver.html html/pp.html \
html/vfychain.html html/vfyserv.html
all-html: prepare $(HTMLPAGES)