Fix doc installation

This commit is contained in:
Jay Berkenbilt 2017-08-22 16:50:41 -04:00
parent 55f19d3e1b
commit 84113a572f
1 changed files with 2 additions and 2 deletions

View File

@ -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