From 588a4b204ba7d0c91b7a36acc834de5750608825 Mon Sep 17 00:00:00 2001 From: mszulecki Date: Mon, 11 Jun 2007 23:21:52 +0000 Subject: Add basic HTML documentation generation and installation. git-svn-id: http://svn.sukimashita.com/repos/dskel/trunk@27 4281df72-ff29-0410-8fee-2d9ac0c5f5a7 --- doc/Makefile.am | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/Makefile.am (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 0000000..d42603b --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1,22 @@ +TARGET_DIR=$(docdir) + +clean-local: + cd $(top_srcdir) && rm -rf doc/*.html + +install-data-local: + installfiles=`echo $(top_srcdir)/doc/*.html`; \ + if test "$$installfiles" = '$(top_srcdir)/doc/*.html'; \ + then echo '-- Nothing to install' ; \ + else \ + $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \ + for i in $$installfiles; do \ + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ + done; \ + fi + +uninstall-local: + rm -rf $(DESTDIR)$(TARGET_DIR) + +DISTCLEANFILES = \ + Makefile.in -- cgit v1.1-32-gdbae