aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-07-19 18:54:35 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-07-19 19:15:52 +0200
commitb9ac98bcae3b1b7f7de2f8301db105408ed39f9c (patch)
tree6e651bae1e949216b7c70bb93306bb3eba51c05f
parent45919881ba39262a5a7d4a6e224ad395080a3a5e (diff)
downloadgtk-vlc-player-b9ac98bcae3b1b7f7de2f8301db105408ed39f9c.tar.gz
fixed Doxygen distribution and installation (using custom automake hooks)
-rw-r--r--doc/Makefile.am18
1 files 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