COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 204:77d56a21c3ab

Last change on this file since 204:77d56a21c3ab was 156:e561aa7675de, checked in by Alpar Juttner <alpar@…>, 17 years ago

More flexible header names in .lgf + largely improved doc

File size: 1.9 KB
RevLine 
[1]1EXTRA_DIST += \
[60]2        doc/Doxyfile.in \
3        doc/coding_style.dox \
4        doc/dirs.dox \
5        doc/groups.dox \
[156]6        doc/lgf.dox \
[60]7        doc/license.dox \
8        doc/mainpage.dox \
9        doc/namespaces.dox \
10        doc/html
[1]11
[153]12DOC_EPS_IMAGES18 = \
13        nodeshape_0.eps \
14        nodeshape_1.eps \
15        nodeshape_2.eps \
16        nodeshape_3.eps \
17        nodeshape_4.eps
18
19DOC_EPS_IMAGES = \
20        $(DOC_EPS_IMAGES18)
21
22DOC_PNG_IMAGES = \
23        $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
24
25EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
26
[60]27doc/html:
28        $(MAKE) $(AM_MAKEFLAGS) html
29
[153]30GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
31
32$(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
33        -mkdir doc/gen-images
34        if test ${gs_found} = yes; then \
35          $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
36        else \
37          echo; \
38          echo "Ghostscript not found."; \
39          echo; \
40          exit 1; \
41        fi
42
43html-local: $(DOC_PNG_IMAGES)
[1]44        if test ${doxygen_found} = yes; then \
45          cd doc; \
46          doxygen Doxyfile; \
47          cd ..; \
[60]48        else \
49          echo; \
50          echo "Doxygen not found."; \
51          echo; \
52          exit 1; \
[1]53        fi
54
55clean-local:
56        -rm -rf doc/html
57        -rm -f doc/doxygen.log
[153]58        -rm -f $(DOC_PNG_IMAGES)
59        -rm -rf doc/gen-images
[1]60
[56]61update-external-tags:
62        wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
63        mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
64        rm doc/libstdc++.tag.tmp
65
[60]66install-html-local: doc/html
[1]67        @$(NORMAL_INSTALL)
[60]68        $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
69        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]70          f="`echo $$p | sed -e 's|^.*/||'`"; \
[60]71          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
72          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
[1]73        done
74
[60]75uninstall-local:
[1]76        @$(NORMAL_UNINSTALL)
[60]77        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]78          f="`echo $$p | sed -e 's|^.*/||'`"; \
[60]79          echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
80          rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
[1]81        done
82
[60]83.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.