Last change
on this file since 92:5d4decd1b870 was
60:6ec5dbed8f18,
checked in by Akos Ladanyi <ladanyi@…>, 17 years ago
|
Reworked documentation generation and installation.
Details:
- Remove configure flag used to disable the automatic generation of the
documentation when istalling.
- Now 'make html' generates the documentation.
- Now 'make install' does not install the documentation, 'make install-html'
does that. The latter two changes follow newer automake conventions.
- This also fixes the bug that caused the documentation missing from the
tarball.
|
File size:
1.2 KB
|
Rev | Line | |
---|
[1] | 1 | EXTRA_DIST += \ |
---|
| 2 | doc/Makefile \ |
---|
[60] | 3 | doc/Doxyfile.in \ |
---|
| 4 | doc/coding_style.dox \ |
---|
| 5 | doc/dirs.dox \ |
---|
| 6 | doc/groups.dox \ |
---|
| 7 | doc/license.dox \ |
---|
| 8 | doc/mainpage.dox \ |
---|
| 9 | doc/namespaces.dox \ |
---|
| 10 | doc/html |
---|
[1] | 11 | |
---|
[60] | 12 | doc/html: |
---|
| 13 | $(MAKE) $(AM_MAKEFLAGS) html |
---|
| 14 | |
---|
| 15 | html-local: |
---|
[1] | 16 | if test ${doxygen_found} = yes; then \ |
---|
| 17 | cd doc; \ |
---|
| 18 | doxygen Doxyfile; \ |
---|
| 19 | cd ..; \ |
---|
[60] | 20 | else \ |
---|
| 21 | echo; \ |
---|
| 22 | echo "Doxygen not found."; \ |
---|
| 23 | echo; \ |
---|
| 24 | exit 1; \ |
---|
[1] | 25 | fi |
---|
| 26 | |
---|
| 27 | clean-local: |
---|
| 28 | -rm -rf doc/html |
---|
| 29 | -rm -f doc/doxygen.log |
---|
| 30 | |
---|
[56] | 31 | update-external-tags: |
---|
| 32 | wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \ |
---|
| 33 | mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \ |
---|
| 34 | rm doc/libstdc++.tag.tmp |
---|
| 35 | |
---|
[60] | 36 | install-html-local: doc/html |
---|
[1] | 37 | @$(NORMAL_INSTALL) |
---|
[60] | 38 | $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs |
---|
| 39 | for p in doc/html/*.{html,css,png,map,gif,tag} ; do \ |
---|
[1] | 40 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
---|
[60] | 41 | echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \ |
---|
| 42 | $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \ |
---|
[1] | 43 | done |
---|
| 44 | |
---|
[60] | 45 | uninstall-local: |
---|
[1] | 46 | @$(NORMAL_UNINSTALL) |
---|
[60] | 47 | for p in doc/html/*.{html,css,png,map,gif,tag} ; do \ |
---|
[1] | 48 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
---|
[60] | 49 | echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \ |
---|
| 50 | rm -f $(DESTDIR)$(htmldir)/docs/$$f; \ |
---|
[1] | 51 | done |
---|
| 52 | |
---|
[60] | 53 | .PHONY: update-external-tags |
---|
Note: See
TracBrowser
for help on using the repository browser.