author | alpar |
Fri, 19 Jan 2007 17:27:22 +0000 | |
changeset 2347 | 0aaa7ada5395 |
parent 2196 | 09af6d2b683b |
child 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 \ |
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 \ |
alpar@2216 | 19 |
doc/lemon_file_format.dox \ |
ladanyi@2108 | 20 |
doc/license.dox \ |
ladanyi@2108 | 21 |
doc/mainpage.dox \ |
ladanyi@2108 | 22 |
doc/maps.dox \ |
alpar@2196 | 23 |
doc/maps1.dox \ |
alpar@2196 | 24 |
doc/maps2.dox \ |
ladanyi@2108 | 25 |
doc/named-param.dox \ |
ladanyi@2108 | 26 |
doc/namespaces.dox \ |
ladanyi@2108 | 27 |
doc/quicktour.dox \ |
alpar@2216 | 28 |
doc/read_write_bg.dox \ |
ladanyi@2108 | 29 |
doc/ugraphs.dox |
alpar@1177 | 30 |
|
ladanyi@2108 | 31 |
doc: |
klao@1450 | 32 |
if test ${doxygen_found} = yes; then \ |
ladanyi@2108 | 33 |
cd doc; \ |
klao@1450 | 34 |
doxygen Doxyfile; \ |
ladanyi@2108 | 35 |
cd ..; \ |
ladanyi@2108 | 36 |
cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \ |
klao@1450 | 37 |
fi |
ladanyi@542 | 38 |
|
ladanyi@2108 | 39 |
doc-clean: |
ladanyi@2108 | 40 |
if test ${doxygen_found} = yes; then \ |
ladanyi@2108 | 41 |
rm -rf doc/html; \ |
ladanyi@2108 | 42 |
rm -f doc/doxygen.log; \ |
ladanyi@2108 | 43 |
cd doc; \ |
ladanyi@2108 | 44 |
doxygen Doxyfile; \ |
ladanyi@2108 | 45 |
cd ..; \ |
ladanyi@2108 | 46 |
cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \ |
ladanyi@2108 | 47 |
fi |
ladanyi@542 | 48 |
|
ladanyi@542 | 49 |
clean-local: |
ladanyi@2108 | 50 |
-rm -rf doc/html |
ladanyi@2108 | 51 |
-rm -f doc/doxygen.log |
ladanyi@542 | 52 |
|
ladanyi@2108 | 53 |
doc/html: |
ladanyi@2108 | 54 |
$(MAKE) $(AM_MAKEFLAGS) doc-clean |
ladanyi@2108 | 55 |
|
ladanyi@2127 | 56 |
if WANT_DOC |
ladanyi@2127 | 57 |
|
ladanyi@2108 | 58 |
install-data-local: doc/html |
ladanyi@542 | 59 |
@$(NORMAL_INSTALL) |
ladanyi@542 | 60 |
$(mkinstalldirs) $(DESTDIR)$(htmldir) |
ladanyi@2108 | 61 |
@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 | 62 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
ladanyi@542 | 63 |
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \ |
ladanyi@542 | 64 |
$(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \ |
ladanyi@542 | 65 |
done |
ladanyi@542 | 66 |
|
ladanyi@2108 | 67 |
uninstall-local: doc/html |
ladanyi@542 | 68 |
@$(NORMAL_UNINSTALL) |
ladanyi@2108 | 69 |
@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 | 70 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
ladanyi@542 | 71 |
echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \ |
ladanyi@542 | 72 |
rm -f $(DESTDIR)$(htmldir)/$$f; \ |
ladanyi@542 | 73 |
done |
ladanyi@2108 | 74 |
|
ladanyi@2127 | 75 |
endif WANT_DOC |
ladanyi@2127 | 76 |
|
ladanyi@2108 | 77 |
.PHONY: doc doc-clean |