summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-02-04 14:09:54 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-02-04 14:09:54 +0100
commitbd82d030011cd8b9655e5ded6b6df9343b42a6bd (patch)
treede82d886dfea0cb7dbb6e80436218a25cb211bc3 /doc/Makefile.am
Imported Upstream version 3.22upstream/3.22
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..14eba9f
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,16 @@
+# -*- Makefile -*-
+
+if BUILD_DOCS
+dist_doc_DATA = libHX_Documentation.pdf
+endif
+
+libHX_Documentation.pdf: libHX_Documentation.lyx
+ srcdir="${srcdir}" ${srcdir}/generate;
+
+EXTRA_DIST = libHX_Documentation.lyx api.txt changelog.txt
+
+install-data-local:
+ if test -e libHX_Documentation.pdf; then \
+ ${MKDIR_P} "${DESTDIR}${docdir}" || exit 1; \
+ ${INSTALL_DATA} libHX_Documentation.pdf "${DESTDIR}${docdir}" || exit $$?; \
+ fi