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