diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2003-01-10 04:38:44 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2003-01-10 04:38:44 +0000 |
commit | 52afda911528bebccee6f951dee880eceea413d5 (patch) | |
tree | cbd2053f706c50db9d8051185e3e6837472bd625 /doc | |
parent | 9caf4937e2f69c43a499401d4867a15d0458a89b (diff) | |
download | flac-52afda911528bebccee6f951dee880eceea413d5.tar.gz |
only clean doxygen-generated files with maintainer-clean; warn during build if doxygen is not available
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 9 | ||||
-rw-r--r-- | doc/html/Makefile.am | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 1dd67dc7..060d104e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -19,11 +19,18 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = . html +if FLaC__HAS_DOXYGEN FLAC.tag: Doxyfile doxygen Doxyfile rm -rf html/api mv doxytmp/html html/api rm -rf doxytmp +else +FLAC.tag: + echo "*** Warning: Doxygen not found; documentation will not be built." + touch $< + mkdir -p html/api +endif docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) @@ -32,5 +39,5 @@ doc_DATA = \ EXTRA_DIST = Doxyfile Makefile.lite $(doc_DATA) -clean-local: +maintainer-clean-local: rm -rf FLAC.tag html/api doxytmp diff --git a/doc/html/Makefile.am b/doc/html/Makefile.am index 1d4d790c..69253a55 100644 --- a/doc/html/Makefile.am +++ b/doc/html/Makefile.am @@ -42,5 +42,5 @@ install-data-local: (cd api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api) uninstall-local: rm -rf $(DESTDIR)$(docdir)/api -clean-local: +maintainer-clean-local: rm -rf api |