doc/Makefile.am
author alpar
Tue, 04 Jul 2006 17:49:01 +0000
changeset 2117 96efb4fa0736
parent 2071 00c4ce4f4170
child 2118 54350d5c316a
permissions -rw-r--r--
- Revised "Concepts" group documentation
- Other minor doc improvements
ladanyi@1671
     1
htmldir = $(datadir)/doc/$(PACKAGE)/html
ladanyi@542
     2
ladanyi@2108
     3
EXTRA_DIST += \
ladanyi@2108
     4
	doc/html \
ladanyi@2108
     5
	doc/icons/geom/ftv2doc.png \
ladanyi@2108
     6
	doc/icons/geom/ftv2folderclosed.png \
ladanyi@2108
     7
	doc/icons/geom/ftv2folderopen.png \
ladanyi@2108
     8
	doc/coding_style.dox \
ladanyi@2108
     9
	doc/developers_interface.dox \
ladanyi@2108
    10
	doc/dirs.dox \
ladanyi@2108
    11
	doc/getstart.dox \
ladanyi@2108
    12
	doc/graph-adaptors.dox \
ladanyi@2108
    13
	doc/graph_io.dox \
ladanyi@2108
    14
	doc/graphs.dox \
ladanyi@2108
    15
	doc/groups.dox \
ladanyi@2108
    16
	doc/license.dox \
ladanyi@2108
    17
	doc/mainpage.dox \
ladanyi@2108
    18
	doc/maps.dox \
ladanyi@2108
    19
	doc/named-param.dox \
ladanyi@2108
    20
	doc/namespaces.dox \
ladanyi@2108
    21
	doc/quicktour.dox \
ladanyi@2108
    22
	doc/ugraphs.dox
alpar@1177
    23
ladanyi@2108
    24
doc:
klao@1450
    25
	if test ${doxygen_found} = yes; then \
ladanyi@2108
    26
	  cd doc; \
klao@1450
    27
	  doxygen Doxyfile; \
ladanyi@2108
    28
	  cd ..; \
ladanyi@2108
    29
	  cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
klao@1450
    30
	fi
ladanyi@542
    31
ladanyi@2108
    32
doc-clean:
ladanyi@2108
    33
	if test ${doxygen_found} = yes; then \
ladanyi@2108
    34
	  rm -rf doc/html; \
ladanyi@2108
    35
	  rm -f doc/doxygen.log; \
ladanyi@2108
    36
	  cd doc; \
ladanyi@2108
    37
	  doxygen Doxyfile; \
ladanyi@2108
    38
	  cd ..; \
ladanyi@2108
    39
	  cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
ladanyi@2108
    40
	fi
ladanyi@542
    41
ladanyi@542
    42
clean-local:
ladanyi@2108
    43
	-rm -rf doc/html
ladanyi@2108
    44
	-rm -f doc/doxygen.log
ladanyi@542
    45
ladanyi@2108
    46
doc/html:
ladanyi@2108
    47
	$(MAKE) $(AM_MAKEFLAGS) doc-clean
ladanyi@2108
    48
ladanyi@2108
    49
install-data-local: doc/html
ladanyi@542
    50
	@$(NORMAL_INSTALL)
ladanyi@542
    51
	$(mkinstalldirs) $(DESTDIR)$(htmldir)
ladanyi@2108
    52
	@dir='doc/html'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
ladanyi@542
    53
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
ladanyi@542
    54
	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
ladanyi@542
    55
	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
ladanyi@542
    56
	done
ladanyi@542
    57
ladanyi@2108
    58
uninstall-local: doc/html
ladanyi@542
    59
	@$(NORMAL_UNINSTALL)
ladanyi@2108
    60
	@dir='doc/html'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
ladanyi@542
    61
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
ladanyi@542
    62
	  echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
ladanyi@542
    63
	  rm -f $(DESTDIR)$(htmldir)/$$f; \
ladanyi@542
    64
	done
ladanyi@2108
    65
ladanyi@2108
    66
.PHONY: doc doc-clean