aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-10-11 22:20:41 +0200
committerJay Berkenbilt <ejb@ql.org>2018-10-11 23:27:54 +0200
commit449cb67915fd6037cf50c68e28f8accef413dae0 (patch)
tree8631036cdb10f26b14915ab60c0b93c740d0a0c9 /make
parente6a917ec230a56f761a95a139fa8f35a9a464ca9 (diff)
downloadqpdf-449cb67915fd6037cf50c68e28f8accef413dae0.tar.zst
Make windows install not fail on missing docs
libtool make install already works this way.
Diffstat (limited to 'make')
-rw-r--r--make/installwin.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/make/installwin.mk b/make/installwin.mk
index 960cc51f..e1e623a3 100644
--- a/make/installwin.mk
+++ b/make/installwin.mk
@@ -18,5 +18,9 @@ installwin: all
cp include/qpdf/*.h $(DEST)/include/qpdf
cp include/qpdf/*.hh $(DEST)/include/qpdf
cp doc/stylesheet.css $(DEST)/doc
- cp doc/qpdf-manual.html $(DEST)/doc
- cp doc/qpdf-manual.pdf $(DEST)/doc
+ if [ -f doc/qpdf-manual.html ]; then \
+ cp doc/qpdf-manual.html $(DEST)/doc; \
+ fi
+ if [ -f doc/qpdf-manual.pdf ]; then \
+ doc/qpdf-manual.pdf $(DEST)/doc; \
+ fi