mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-24 07:38:28 +00:00
install target: only install docs if building
Don't try to install HTML or PDF documentation if we're not building docs.
This commit is contained in:
parent
80988380cc
commit
e8b845dd03
@ -126,7 +126,11 @@ install: all
|
|||||||
cp include/qpdf/*.h $(DESTDIR)$(includedir)/qpdf
|
cp include/qpdf/*.h $(DESTDIR)$(includedir)/qpdf
|
||||||
cp include/qpdf/*.hh $(DESTDIR)$(includedir)/qpdf
|
cp include/qpdf/*.hh $(DESTDIR)$(includedir)/qpdf
|
||||||
cp doc/stylesheet.css $(DESTDIR)$(docdir)
|
cp doc/stylesheet.css $(DESTDIR)$(docdir)
|
||||||
cp doc/qpdf-manual.html $(DESTDIR)$(docdir)
|
|
||||||
cp doc/qpdf-manual.pdf $(DESTDIR)$(docdir)
|
|
||||||
cp doc/*.1 $(DESTDIR)$(mandir)/man1
|
|
||||||
cp libqpdf.pc $(DESTDIR)$(libdir)/pkgconfig
|
cp libqpdf.pc $(DESTDIR)$(libdir)/pkgconfig
|
||||||
|
if [ $(BUILD_HTML) = 1 ]; then \
|
||||||
|
cp doc/qpdf-manual.html $(DESTDIR)$(docdir); \
|
||||||
|
fi
|
||||||
|
if [ $(BUILD_PDF) = 1 ]; then \
|
||||||
|
cp doc/qpdf-manual.pdf $(DESTDIR)$(docdir); \
|
||||||
|
fi
|
||||||
|
cp doc/*.1 $(DESTDIR)$(mandir)/man1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user