diff options
author | Jonathon Jongsma <jjongsma@gnome.org> | 2006-04-01 00:13:00 +0000 |
---|---|---|
committer | Jonathon Jongsma <jjongsma@gnome.org> | 2006-04-01 00:13:00 +0000 |
commit | c0759862cd5e99e914377e37fc5bcfec0f234efe (patch) | |
tree | 86e882c9b5f5f19d5ed3f72eede4c29af98a9d40 /docs | |
parent | 9646d122d8df1b5b9f58e6938f9c8f235a4e0955 (diff) |
2006-03-31 Danilo Piazzalunga <danilopiazza@gmail.com>
* Makefile.am:
* docs/Makefile.am:
* docs/reference/Makefile.am: add convenience targets for cleaning and
rebuilding documentation (doc-clean and doc-rebuild).
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Makefile.am | 12 | ||||
-rw-r--r-- | docs/reference/Makefile.am | 22 |
2 files changed, 26 insertions, 8 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index f3ddc22..be6a753 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1 +1,13 @@ SUBDIRS = reference + +doc-clean-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) doc-clean); \ + done + +doc-clean: doc-clean-recursive + +doc-rebuild: doc-clean all + +.PHONY: doc-clean doc-clean-recursive doc-rebuild + diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index 1b41ddd..b1b605f 100644 --- a/docs/reference/Makefile.am +++ b/docs/reference/Makefile.am @@ -3,7 +3,9 @@ DOXYGEN_CONFIGFILE_SOURCE = Doxyfile.in WEB_SERVER = cairographics.org WEB_SERVER_PATH = /srv/cairo.freedesktop.org/www/documentation/cairomm/reference -EXTRA_DIST = $(DOXYGEN_CONFIGFILE_SOURCE) introduction.h html +EXTRA_DIST = $(DOXYGEN_CONFIGFILE_SOURCE) \ + introduction.h cairomm_doxygen_tags \ + html index_html = html/index.html @@ -39,18 +41,22 @@ uninstall-reference: $(index_html) rm -f $(DESTDIR)$(referencedir)/$$f; \ done +doc-clean: + -rm -rf html + -rm -f cairomm_doxygen_tags + -rm -f doxygen-output.txt + -rm -f doxygen-warnings.txt + -rm -f undocumented.txt + install-data-local: install-reference uninstall-local: uninstall-reference all-local: $(index_html) -maintainer-clean-local: - -rm -rf html - -CLEANFILES = cairomm_doxygen_tags \ - doxygen-output.txt \ - doxygen-warnings.txt \ - undocumented.txt +maintainer-clean-local: doc-clean DISTCLEANFILES = $(DOXYGEN_CONFIGFILE) + +.PHONY: doc-clean install-reference uninstall-reference + |