COIN-OR::LEMON - Graph Library

source: lemon-1.2/doc/Makefile.am @ 17:d0dd44af6fec

Last change on this file since 17:d0dd44af6fec was 2:1a1c050e941b, checked in by Alpar Juttner <alpar@…>, 17 years ago

More fixes that make autotools working for the empty repo

  • Add a dummy lemon/list_graph.h file and put it in the Makefile.am
  • Remove the unnecesary icons from doc/icons/geom folder.
  • Update .hgignore
File size: 1.2 KB
Line 
1htmldir = $(datadir)/doc/$(PACKAGE)/html
2
3EXTRA_DIST += \
4        doc/Makefile \
5        doc/Doxyfile.in
6
7doc:
8        if test ${doxygen_found} = yes; then \
9          cd doc; \
10          doxygen Doxyfile; \
11          cd ..; \
12        fi
13
14doc-clean:
15        if test ${doxygen_found} = yes; then \
16          rm -rf doc/html; \
17          rm -f doc/doxygen.log; \
18          cd doc; \
19          doxygen Doxyfile; \
20          cd ..; \
21        fi
22
23clean-local:
24        -rm -rf doc/html
25        -rm -f doc/doxygen.log
26
27doc/html:
28        $(MAKE) $(AM_MAKEFLAGS) doc-clean
29
30if WANT_DOC
31
32install-data-local: doc/html
33        @$(NORMAL_INSTALL)
34        $(mkinstalldirs) $(DESTDIR)$(htmldir)
35        @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 \
36          f="`echo $$p | sed -e 's|^.*/||'`"; \
37          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
38          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
39        done
40
41uninstall-local: doc/html
42        @$(NORMAL_UNINSTALL)
43        @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 \
44          f="`echo $$p | sed -e 's|^.*/||'`"; \
45          echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
46          rm -f $(DESTDIR)$(htmldir)/$$f; \
47        done
48
49endif WANT_DOC
50
51.PHONY: doc doc-clean
Note: See TracBrowser for help on using the repository browser.