summaryrefslogtreecommitdiffstats
path: root/b/Makefile
blob: 7e77561e3044de811ca88115287a07ab25b54486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
all: example.1 pk12util.1

#
# The atrgets in section use docbook2nroff.py to convert
# from xml to nroff
#
example.1: example.xml
	python docbook2nroff.py example.xml > example.1

view-example: example.1
	man ./example.1

# add more as you get them ready

date.xml:
	date +"%e %B %Y" | tr -d '\n' > $@

version.xml:
	echo -n ${VERSION} > $@

#
# The targets in this section use xmlto to convert
# from xml to nroff (or groff)
#
pk12util.1: pk12util.xml date.xml version.xml
	xmlto man pk12util.xml

view-pk12util: pk12util.1
	man ./pk12util.1