aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-08-22 22:50:41 +0200
committerJay Berkenbilt <ejb@ql.org>2017-08-22 22:50:48 +0200
commit84113a572fe7c10e5fa52b89f8c7a926b12f5a28 (patch)
tree1543c95f0e886e4eed843acd689a22371270920e /make
parent55f19d3e1bd23728769803999139b276aca1da57 (diff)
downloadqpdf-84113a572fe7c10e5fa52b89f8c7a926b12f5a28.tar.zst
Fix doc installation
Diffstat (limited to 'make')
-rw-r--r--make/libtool.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/libtool.mk b/make/libtool.mk
index c3af7b9f..9393d447 100644
--- a/make/libtool.mk
+++ b/make/libtool.mk
@@ -128,10 +128,10 @@ install: all
cp include/qpdf/*.hh $(DESTDIR)$(includedir)/qpdf
cp doc/stylesheet.css $(DESTDIR)$(docdir)
cp libqpdf.pc $(DESTDIR)$(libdir)/pkgconfig
- if [ $(BUILD_HTML) = 1 ]; then \
+ if [ -f doc/qpdf-manual.html ]; then \
cp doc/qpdf-manual.html $(DESTDIR)$(docdir); \
fi
- if [ $(BUILD_PDF) = 1 ]; then \
+ if [ -f doc/qpdf-manual.pdf ]; then \
cp doc/qpdf-manual.pdf $(DESTDIR)$(docdir); \
fi
cp doc/*.1 $(DESTDIR)$(mandir)/man1