From b9ac98bcae3b1b7f7de2f8301db105408ed39f9c Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 19 Jul 2013 18:54:35 +0200 Subject: fixed Doxygen distribution and installation (using custom automake hooks) --- doc/Makefile.am | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 2ec8095..67f5b7e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -2,12 +2,20 @@ # Doxygen processing # if BUILD_DOXYGEN -html_DATA = html/ -endif -.PHONY: html/ -html/ : Doxyfile +EXTRA_DIST = html + +all-local : Doxyfile @DOXYGEN@ $< clean-local: - -rm -rf html/ + -$(RM) -r html/ + +install-data-local: + $(MKDIR_P) $(DESTDIR)$(htmldir) + cp -r $(srcdir)/html $(DESTDIR)$(htmldir) + +uninstall-local: + -$(RM) -r $(DESTDIR)$(htmldir) + +endif -- cgit v1.2.3