doc/Makefile.am
author alpar
Wed, 06 Sep 2006 08:36:52 +0000
changeset 2197 921923afd57a
parent 2127 1d43a276fc26
child 2216 1e45cdeea3cc
permissions -rw-r--r--
Disable mip_test when no LP solver is available.
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 \
alpar@2196
    10
	doc/algorithms.dox \
ladanyi@2108
    11
	doc/coding_style.dox \
ladanyi@2108
    12
	doc/developers_interface.dox \
ladanyi@2108
    13
	doc/dirs.dox \
ladanyi@2108
    14
	doc/getstart.dox \
ladanyi@2108
    15
	doc/graph-adaptors.dox \
ladanyi@2108
    16
	doc/graph_io.dox \
ladanyi@2108
    17
	doc/graphs.dox \
ladanyi@2108
    18
	doc/groups.dox \
ladanyi@2108
    19
	doc/license.dox \
ladanyi@2108
    20
	doc/mainpage.dox \
ladanyi@2108
    21
	doc/maps.dox \
alpar@2196
    22
	doc/maps1.dox \
alpar@2196
    23
	doc/maps2.dox \
ladanyi@2108
    24
	doc/named-param.dox \
ladanyi@2108
    25
	doc/namespaces.dox \
ladanyi@2108
    26
	doc/quicktour.dox \
ladanyi@2108
    27
	doc/ugraphs.dox
alpar@1177
    28
ladanyi@2108
    29
doc:
klao@1450
    30
	if test ${doxygen_found} = yes; then \
ladanyi@2108
    31
	  cd doc; \
klao@1450
    32
	  doxygen Doxyfile; \
ladanyi@2108
    33
	  cd ..; \
ladanyi@2108
    34
	  cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
klao@1450
    35
	fi
ladanyi@542
    36
ladanyi@2108
    37
doc-clean:
ladanyi@2108
    38
	if test ${doxygen_found} = yes; then \
ladanyi@2108
    39
	  rm -rf doc/html; \
ladanyi@2108
    40
	  rm -f doc/doxygen.log; \
ladanyi@2108
    41
	  cd doc; \
ladanyi@2108
    42
	  doxygen Doxyfile; \
ladanyi@2108
    43
	  cd ..; \
ladanyi@2108
    44
	  cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
ladanyi@2108
    45
	fi
ladanyi@542
    46
ladanyi@542
    47
clean-local:
ladanyi@2108
    48
	-rm -rf doc/html
ladanyi@2108
    49
	-rm -f doc/doxygen.log
ladanyi@542
    50
ladanyi@2108
    51
doc/html:
ladanyi@2108
    52
	$(MAKE) $(AM_MAKEFLAGS) doc-clean
ladanyi@2108
    53
ladanyi@2127
    54
if WANT_DOC
ladanyi@2127
    55
ladanyi@2108
    56
install-data-local: doc/html
ladanyi@542
    57
	@$(NORMAL_INSTALL)
ladanyi@542
    58
	$(mkinstalldirs) $(DESTDIR)$(htmldir)
ladanyi@2108
    59
	@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
    60
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
ladanyi@542
    61
	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
ladanyi@542
    62
	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
ladanyi@542
    63
	done
ladanyi@542
    64
ladanyi@2108
    65
uninstall-local: doc/html
ladanyi@542
    66
	@$(NORMAL_UNINSTALL)
ladanyi@2108
    67
	@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
    68
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
ladanyi@542
    69
	  echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
ladanyi@542
    70
	  rm -f $(DESTDIR)$(htmldir)/$$f; \
ladanyi@542
    71
	done
ladanyi@2108
    72
ladanyi@2127
    73
endif WANT_DOC
ladanyi@2127
    74
ladanyi@2108
    75
.PHONY: doc doc-clean