summaryrefslogtreecommitdiffstats
path: root/security/nss/doc/Makefile
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /security/nss/doc/Makefile
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'security/nss/doc/Makefile')
-rw-r--r--security/nss/doc/Makefile69
1 files changed, 69 insertions, 0 deletions
diff --git a/security/nss/doc/Makefile b/security/nss/doc/Makefile
new file mode 100644
index 000000000..444a81a30
--- /dev/null
+++ b/security/nss/doc/Makefile
@@ -0,0 +1,69 @@
+#! 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)