aboutsummaryrefslogtreecommitdiff
path: root/doc/user
diff options
context:
space:
mode:
authorLudovic Courtès2007-12-14 15:11:34 +0100
committerLudovic Courtès2007-12-14 15:11:34 +0100
commit232f939e134cefc41e5624bafa5b354d9cfc3ceb (patch)
tree0e97f4be975bcc1f9eb375a32dccb381830d29ef /doc/user
parentad0a2996afa24edece13303f1a88b9e7702af318 (diff)
downloadskribilo-232f939e134cefc41e5624bafa5b354d9cfc3ceb.tar.gz
skribilo-232f939e134cefc41e5624bafa5b354d9cfc3ceb.tar.lz
skribilo-232f939e134cefc41e5624bafa5b354d9cfc3ceb.zip
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.
Diffstat (limited to 'doc/user')
-rw-r--r--doc/user/Makefile.am15
1 files changed, 15 insertions, 0 deletions
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