Commit 84113a572fe7c10e5fa52b89f8c7a926b12f5a28

Authored by Jay Berkenbilt
1 parent 55f19d3e

Fix doc installation

Showing 1 changed file with 2 additions and 2 deletions
make/libtool.mk
@@ -128,10 +128,10 @@ install: all @@ -128,10 +128,10 @@ install: all
128 cp include/qpdf/*.hh $(DESTDIR)$(includedir)/qpdf 128 cp include/qpdf/*.hh $(DESTDIR)$(includedir)/qpdf
129 cp doc/stylesheet.css $(DESTDIR)$(docdir) 129 cp doc/stylesheet.css $(DESTDIR)$(docdir)
130 cp libqpdf.pc $(DESTDIR)$(libdir)/pkgconfig 130 cp libqpdf.pc $(DESTDIR)$(libdir)/pkgconfig
131 - if [ $(BUILD_HTML) = 1 ]; then \ 131 + if [ -f doc/qpdf-manual.html ]; then \
132 cp doc/qpdf-manual.html $(DESTDIR)$(docdir); \ 132 cp doc/qpdf-manual.html $(DESTDIR)$(docdir); \
133 fi 133 fi
134 - if [ $(BUILD_PDF) = 1 ]; then \ 134 + if [ -f doc/qpdf-manual.pdf ]; then \
135 cp doc/qpdf-manual.pdf $(DESTDIR)$(docdir); \ 135 cp doc/qpdf-manual.pdf $(DESTDIR)$(docdir); \
136 fi 136 fi
137 cp doc/*.1 $(DESTDIR)$(mandir)/man1 137 cp doc/*.1 $(DESTDIR)$(mandir)/man1