doc/Makefile.am
author Balazs Dezso <deba@inf.elte.hu>
Wed, 23 Apr 2008 15:33:53 +0200
changeset 147 7c39a090cfc3
parent 60 6ec5dbed8f18
child 154 f4e4dbc1d467
permissions -rw-r--r--
Fix missing semicolon in GRAPH_TYPEDEFS (ticket #89)
     1 EXTRA_DIST += \
     2 	doc/Doxyfile.in \
     3 	doc/coding_style.dox \
     4 	doc/dirs.dox \
     5 	doc/groups.dox \
     6 	doc/license.dox \
     7 	doc/mainpage.dox \
     8 	doc/namespaces.dox \
     9 	doc/html
    10 
    11 doc/html:
    12 	$(MAKE) $(AM_MAKEFLAGS) html
    13 
    14 html-local:
    15 	if test ${doxygen_found} = yes; then \
    16 	  cd doc; \
    17 	  doxygen Doxyfile; \
    18 	  cd ..; \
    19 	else \
    20 	  echo; \
    21 	  echo "Doxygen not found."; \
    22 	  echo; \
    23 	  exit 1; \
    24 	fi
    25 
    26 clean-local:
    27 	-rm -rf doc/html
    28 	-rm -f doc/doxygen.log
    29 
    30 update-external-tags:
    31 	wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
    32 	mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
    33 	rm doc/libstdc++.tag.tmp
    34 
    35 install-html-local: doc/html
    36 	@$(NORMAL_INSTALL)
    37 	$(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
    38 	for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
    39 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    40 	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
    41 	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
    42 	done
    43 
    44 uninstall-local:
    45 	@$(NORMAL_UNINSTALL)
    46 	for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
    47 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    48 	  echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
    49 	  rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
    50 	done
    51 
    52 .PHONY: update-external-tags