COIN-OR::LEMON - Graph Library

source: lemon-0.x/doc/Makefile.am @ 1517:b303c1741c9a

Last change on this file since 1517:b303c1741c9a was 1487:6ea6d0d789c6, checked in by Akos Ladanyi, 19 years ago

added macro for setting the name of the directory under datadir/doc

File size: 1.2 KB
Line 
1htmldir = $(datadir)/doc/$(DOCSUFFIX)/html
2
3EXTRA_DIST = html icons mainpage.dox getstart.dox quicktour.dox \
4        demoprograms.dox graphs.dox undir_graphs.dox named-param.dox \
5        maps.dox coding_style.dox groups.dox namespaces.dox license.dox \
6        developers_interface.dox graph_io.dox dirs.dox graph-adaptors.dox
7
8html/index.html:
9        if test ${doxygen_found} = yes; then \
10          doxygen Doxyfile; \
11          cp $(srcdir)/icons/geom/ftv2* html; \
12        fi
13
14html: html/index.html
15
16clean-local:
17        -rm -rf html
18
19install-data-local: html/index.html
20        @$(NORMAL_INSTALL)
21        $(mkinstalldirs) $(DESTDIR)$(htmldir)
22        @dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
23          f="`echo $$p | sed -e 's|^.*/||'`"; \
24          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
25          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
26        done
27
28uninstall-local: html/index.html
29        @$(NORMAL_UNINSTALL)
30        @dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
31          f="`echo $$p | sed -e 's|^.*/||'`"; \
32          echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
33          rm -f $(DESTDIR)$(htmldir)/$$f; \
34        done
Note: See TracBrowser for help on using the repository browser.