|
Last change
on this file since 28:e337bdf46777 was
2:1a1c050e941b,
checked in by Alpar Juttner <alpar@…>, 18 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 | |
|---|
| 1 | htmldir = $(datadir)/doc/$(PACKAGE)/html |
|---|
| 2 | |
|---|
| 3 | EXTRA_DIST += \ |
|---|
| 4 | doc/Makefile \ |
|---|
| 5 | doc/Doxyfile.in |
|---|
| 6 | |
|---|
| 7 | doc: |
|---|
| 8 | if test ${doxygen_found} = yes; then \ |
|---|
| 9 | cd doc; \ |
|---|
| 10 | doxygen Doxyfile; \ |
|---|
| 11 | cd ..; \ |
|---|
| 12 | fi |
|---|
| 13 | |
|---|
| 14 | doc-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 | |
|---|
| 23 | clean-local: |
|---|
| 24 | -rm -rf doc/html |
|---|
| 25 | -rm -f doc/doxygen.log |
|---|
| 26 | |
|---|
| 27 | doc/html: |
|---|
| 28 | $(MAKE) $(AM_MAKEFLAGS) doc-clean |
|---|
| 29 | |
|---|
| 30 | if WANT_DOC |
|---|
| 31 | |
|---|
| 32 | install-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 | |
|---|
| 41 | uninstall-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 | |
|---|
| 49 | endif WANT_DOC |
|---|
| 50 | |
|---|
| 51 | .PHONY: doc doc-clean |
|---|
Note: See
TracBrowser
for help on using the repository browser.