REPOCAFE=repocafe.html repocafe.1 repocafe.txt
P2H_OPT=--outfile repocafe.html
CONF=-c ../repocafe.conf
DOCS=configtest mail-watchers mk_guest_list mk_stats new-commit-hook \
setup-db setup-data setup-vhost upd-admins upd-xusers
PRGS=../configtest ../mail-watchers ../mk_guest_list ../mk_stats \
../new-commit-hook ../setup-db ../setup-data ../setup-vhost \
../upd-admins ../upd-xusers
all: ${REPOCAFE} ${DOCS}
repocafe.pod: mk_doc repocafe.src ../Repocafe.pm ${PRGS}
perl mk_doc ${CONF} repocafe.src repocafe.pod
repocafe.html: mk_doc repocafe.pod pod2html
perl pod2html ${P2H_OPT} repocafe.pod
rm -f *.tmp
repocafe.1: mk_doc repocafe.pod
pod2man repocafe.pod repocafe.1
rm -f *.tmp
repocafe.txt: repocafe.1
man ./repocafe.1 > repocafe.txt
rm -f *.tmp
clean:
rm -f repocafe.pod ${REPOCAFE}
configtest: ../Repocafe.pm use2doc ../configtest
perl use2doc ${CONF} $@
mail-watchers: ../Repocafe.pm use2doc ../mail-watchers
perl use2doc ${CONF} $@
mk_guest_list: ../Repocafe.pm use2doc ../mk_guest_list
perl use2doc ${CONF} $@
mk_stats: ../Repocafe.pm use2doc ../mk_stats
perl use2doc ${CONF} $@
new-commit-hook: ../Repocafe.pm use2doc ../new-commit-hook
perl use2doc ${CONF} $@
setup-data: ../Repocafe.pm use2doc ../setup-data
perl use2doc ${CONF} $@
setup-db: ../Repocafe.pm use2doc ../setup-db
perl use2doc ${CONF} $@
setup-vhost: ../Repocafe.pm use2doc ../setup-vhost
perl use2doc ${CONF} $@
upd-admins: ../Repocafe.pm use2doc ../upd-admins
perl use2doc ${CONF} $@
upd-xusers: ../Repocafe.pm use2doc ../upd-xusers
perl use2doc ${CONF} $@