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