3
# Support doxygen documentation ?
5
docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/doxygen
7
DISTCLEANFILES = Doxyfile doxygen-warning
12
html/index.html: Doxyfile
20
$(PACKAGE).pdf: html/index.html
21
@if test -d ./latex; then \
22
echo "Making PDF manual"; \
26
$(MAKE) -C ./latex refman.pdf; \
27
$(LN_S) ./latex/refman.pdf $@; \
30
$(PACKAGE).ps: html/index.html
31
@if test -d ./latex; then \
32
echo "Making PS manual"; \
36
$(MAKE) -C ./latex refman.ps; \
37
$(LN_S) ./latex/refman.pdf $@; \
41
@if test -d latex; then \
54
# documentation distribution
56
@if test -d html; then \
57
echo "please wait while archiving the docs."; \
58
tar cf - -C html . | bzip2 --best -c > $(PACKAGE)-docs.tar.bz2; \
63
@if test -f $(PACKAGE).pdf; then \
64
$(RM) -f $(PACKAGE).pdf; \
66
@if test -f $(PACKAGE).ps; then \
67
$(RM) -f $(PACKAGE).ps; \
69
@if test -d html; then \
72
@if test -d latex; then \
78
@if test '!' -d $(docdir) ; \
79
then mkdir -p $(docdir) ; \
82
install-data-hook: make-install-dirs
83
@if test -d html; then \
84
echo Installing documentations into $(docdir) ; \
85
$(INSTALL_DATA) html/* $(docdir) ; \
87
@if test -f $(PACKAGE).pdf; then \
88
echo Installing PDF manual into $(docdir) ; \
89
$(INSTALL_DATA) $(PACKAGE).pdf $(docdir) ; \
91
@if test -f $(PACKAGE).ps; then \
92
echo Installing PS manual into $(docdir) ; \
93
$(INSTALL_DATA) $(PACKAGE).ps $(docdir) ; \