security/nss/doc/Makefile
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 14 Dec 2018 09:07:18 +0000
changeset 510582 8160b9f376eefdfba360fb8d1a851c6dcf4bcd93
parent 253013 90b2075e691f67aefc1f232cacb6ce38f33c40d2
child 523699 f84b1b428d4298326511fbdb527c0029e5cdf638
permissions -rw-r--r--
Bug 1514104 - Remove vpx_mem_set_functions support. r=jya vpx_mem_set_functions support is only enabled when MOZ_VPX_NO_MEM_REPORTING is not set. It is currently set unconditionally when building with the in-tree libvpx. When building with system libvpx, it is set when the vpx_mem_set_functions can't be found in the system libvpx library. Upstream removed the vpx_mem_set_functions function in version 1.5, and we require at least that version, meaning, in practice, MOZ_VPX_NO_MEM_REPORTING is now always set. We might as well remove the define and the code that's conditional to not being defined. Differential Revision: https://phabricator.services.mozilla.com/D14517

#! 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)