From 84113a572fe7c10e5fa52b89f8c7a926b12f5a28 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 22 Aug 2017 16:50:41 -0400 Subject: [PATCH] Fix doc installation --- make/libtool.mk | 4 ++-- 1 file 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