1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
MANTEMPLATE="${CURDIR}/doc/output/man/pgbackrest.1.txt"
#export DH_VERBOSE = 1
%:
dh $@
override_dh_auto_build:
perl $(CURDIR)/doc/doc.pl --out=man --out=html --cache-only \
--var=project-url-root=index.html --exclude=backlog \
--var=release-date-static=y
txt2man \
-v "pgBackRest Command Reference" \
-t pgbackrest \
-s 1 \
${MANTEMPLATE} > ${CURDIR}/doc/output/man/pgbackrest.1
dh_auto_build
override_dh_auto_clean:
rm -rf $(CURDIR)/doc/output
dh_auto_clean
|