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