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