ootp/doc/Makefile

46 lines
1.2 KiB
Makefile
Raw Permalink Normal View History

2017-01-03 11:18:19 +00:00
# $Id: Makefile 196 2011-06-12 18:57:25Z maf $
2017-01-03 11:10:10 +00:00
INSTALL=install -c -m0644
.SUFFIXES: .sgml .1 .7 .html
MAN1DIR=/usr/local/ootp/man/man1
MAN7DIR=/usr/local/ootp/man/man7
HTMLDIR=/usr/local/ootp/doc
MISCDIR=/usr/local/ootp/doc
.sgml.1:
docbook-to-man $*.sgml > $@
.sgml.7:
docbook-to-man $*.sgml > $@
.sgml.html:
2017-01-03 11:16:53 +00:00
openjade -V nochunks -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/docbook/3.1/dtd/catalog -c /usr/local/share/sgml/jade/catalog -d /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl -t sgml $*.sgml > $*.html
2017-01-03 11:10:10 +00:00
MAN1S = htsoft-downloader.1 bcload.1 otp-control.1 otp-ov-plugin.1\
2017-01-03 11:18:19 +00:00
pam_otp.1 urd.1 otp-sca.1 otp-sct.1 otp-tokend.1
2017-01-03 11:10:10 +00:00
MAN7S = spyrus-par2.7
HTMLS = htsoft-downloader.html bcload.html otp-control.html otp-ov-plugin.html\
2017-01-03 11:18:19 +00:00
pam_otp.html urd.html otp-sca.html otp-sct.html spyrus-par2.html\
otp-tokend.html
2017-01-03 11:10:10 +00:00
MISC = QUICKSTART LICENSE PAR2-USER-GENERIC BALANCE-USER HOTP-2009.pdf
all: $(MAN1S) $(MAN7S) $(HTMLS)
install:
mkdir -p ${MAN1DIR}
mkdir -p ${MAN7DIR}
mkdir -p ${HTMLDIR}
${INSTALL} ${MAN1S} ${MAN1DIR}
${INSTALL} ${MAN7S} ${MAN7DIR}
${INSTALL} ${HTMLS} ${HTMLDIR}
${INSTALL} ${MISC} ${MISCDIR}
clean:
/bin/rm -f ${MAN1S} ${MAN7S} ${HTMLS}