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