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