diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 16 |
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 |