author | deba |
Sun, 25 May 2008 16:35:05 +0000 | |
changeset 2611 | b526b87d8c2f |
parent 2485 | 88aa7870756a |
permissions | -rw-r--r-- |
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 \ |
alpar@2503 | 13 |
doc/developers.dox \ |
ladanyi@2108 | 14 |
doc/dirs.dox \ |
ladanyi@2108 | 15 |
doc/getstart.dox \ |
ladanyi@2108 | 16 |
doc/graph-adaptors.dox \ |
ladanyi@2108 | 17 |
doc/graph_io.dox \ |
ladanyi@2108 | 18 |
doc/graphs.dox \ |
ladanyi@2108 | 19 |
doc/groups.dox \ |
alpar@2216 | 20 |
doc/lemon_file_format.dox \ |
ladanyi@2108 | 21 |
doc/license.dox \ |
ladanyi@2108 | 22 |
doc/mainpage.dox \ |
ladanyi@2108 | 23 |
doc/maps.dox \ |
alpar@2196 | 24 |
doc/maps1.dox \ |
alpar@2196 | 25 |
doc/maps2.dox \ |
ladanyi@2108 | 26 |
doc/named-param.dox \ |
ladanyi@2108 | 27 |
doc/namespaces.dox \ |
ladanyi@2108 | 28 |
doc/quicktour.dox \ |
alpar@2216 | 29 |
doc/read_write_bg.dox \ |
ladanyi@2108 | 30 |
doc/ugraphs.dox |
alpar@1177 | 31 |
|
ladanyi@2108 | 32 |
doc: |
klao@1450 | 33 |
if test ${doxygen_found} = yes; then \ |
ladanyi@2108 | 34 |
cd doc; \ |
klao@1450 | 35 |
doxygen Doxyfile; \ |
ladanyi@2108 | 36 |
cd ..; \ |
ladanyi@2108 | 37 |
cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \ |
klao@1450 | 38 |
fi |
ladanyi@542 | 39 |
|
ladanyi@2108 | 40 |
doc-clean: |
ladanyi@2108 | 41 |
if test ${doxygen_found} = yes; then \ |
ladanyi@2108 | 42 |
rm -rf doc/html; \ |
ladanyi@2108 | 43 |
rm -f doc/doxygen.log; \ |
ladanyi@2108 | 44 |
cd doc; \ |
ladanyi@2108 | 45 |
doxygen Doxyfile; \ |
ladanyi@2108 | 46 |
cd ..; \ |
ladanyi@2108 | 47 |
cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \ |
ladanyi@2108 | 48 |
fi |
ladanyi@542 | 49 |
|
ladanyi@542 | 50 |
clean-local: |
ladanyi@2108 | 51 |
-rm -rf doc/html |
ladanyi@2108 | 52 |
-rm -f doc/doxygen.log |
ladanyi@542 | 53 |
|
ladanyi@2108 | 54 |
doc/html: |
ladanyi@2108 | 55 |
$(MAKE) $(AM_MAKEFLAGS) doc-clean |
ladanyi@2108 | 56 |
|
ladanyi@2127 | 57 |
if WANT_DOC |
ladanyi@2127 | 58 |
|
ladanyi@2108 | 59 |
install-data-local: doc/html |
ladanyi@542 | 60 |
@$(NORMAL_INSTALL) |
ladanyi@542 | 61 |
$(mkinstalldirs) $(DESTDIR)$(htmldir) |
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 " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \ |
ladanyi@542 | 65 |
$(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \ |
ladanyi@542 | 66 |
done |
ladanyi@542 | 67 |
|
ladanyi@2108 | 68 |
uninstall-local: doc/html |
ladanyi@542 | 69 |
@$(NORMAL_UNINSTALL) |
ladanyi@2108 | 70 |
@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 | 71 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
ladanyi@542 | 72 |
echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \ |
ladanyi@542 | 73 |
rm -f $(DESTDIR)$(htmldir)/$$f; \ |
ladanyi@542 | 74 |
done |
ladanyi@2108 | 75 |
|
ladanyi@2127 | 76 |
endif WANT_DOC |
ladanyi@2127 | 77 |
|
ladanyi@2108 | 78 |
.PHONY: doc doc-clean |