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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
include ../config.mk
all: ${CCTOOLS_DOCTARGETS}
htmlpages manpages mdpages:
$(MAKE) -C man $@
apiperl: api/html/work_queue_perl.html api/html/work_queue_task_perl.html api/html/chirp_client_perl.html api/html/chirp_stat_perl.html
apipages: api/html/index.html apiperl
api/html/index.html:
mkdir -p api/html
# doxygen cctools.doxygen.config
api/html/work_queue_perl.html:
mkdir -p api/html
pod2html ../work_queue/src/bindings/perl/Work_Queue.pm > $@
@rm -f pod2htm*.tmp
api/html/work_queue_task_perl.html:
mkdir -p api/html
pod2html ../work_queue/src/bindings/perl/Work_Queue/Task.pm > $@
@rm -f pod2htm*.tmp
api/html/chirp_client_perl.html:
mkdir -p api/html
pod2html ../chirp/src/bindings/perl/Chirp/Client.pm > $@
@rm -f pod2htm*.tmp
api/html/chirp_stat_perl.html:
mkdir -p api/html
pod2html ../chirp/src/bindings/perl/Chirp/Stat.pm > $@
@rm -f pod2htm*.tmp
install: all
mkdir -p $(CCTOOLS_INSTALL_DIR)/doc
cp -r manuals $(CCTOOLS_INSTALL_DIR)/doc/
if [ -d api ]; then cp -rp api $(CCTOOLS_INSTALL_DIR)/doc; fi
$(MAKE) -C man install
test:
clean:
rm -rf api *~
$(MAKE) -C man clean
.PHONY: all clean install test
|