aboutsummaryrefslogtreecommitdiffstats
path: root/make/libtool.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/libtool.mk')
-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