summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 14eba9f23fb6e726c17142551d821e133a6acadc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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