From 232f939e134cefc41e5624bafa5b354d9cfc3ceb Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 14 Dec 2007 15:11:34 +0100 Subject: Correctly install/uninstall/clean documentation. * doc/user/Makefile.am (install-data-hook, uninstall-local, clean-local): New. This makes `distcheck' happy and installs all the documentation files. --- doc/user/Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc') diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am index 3de9698..1526813 100644 --- a/doc/user/Makefile.am +++ b/doc/user/Makefile.am @@ -73,3 +73,18 @@ else doc-config.scm: echo "(define %have-ploticus? #f) (define %ploticus-path #f)" > $@ endif + + +# Install/uninstall files not listed in `html_DATA'. +install-data-hook: + $(INSTALL_DATA) user-*.html *.png "$(DESTDIR)$(htmldir)" + +uninstall-local: + -rm -rf "$(DESTDIR)$(htmldir)"/user-*.html \ + "$(DESTDIR)$(htmldir)"/*.png + + +# Remove the HTML files and images created in the process and +# not listed in `CLEANFILES'. +clean-local: + -rm -f user-*.html *.eps *.png -- cgit v1.2.3