diff options
author | Jay Berkenbilt <ejb@ql.org> | 2018-10-11 22:20:41 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2018-10-11 23:27:54 +0200 |
commit | 449cb67915fd6037cf50c68e28f8accef413dae0 (patch) | |
tree | 8631036cdb10f26b14915ab60c0b93c740d0a0c9 | |
parent | e6a917ec230a56f761a95a139fa8f35a9a464ca9 (diff) | |
download | qpdf-449cb67915fd6037cf50c68e28f8accef413dae0.tar.zst |
Make windows install not fail on missing docs
libtool make install already works this way.
-rw-r--r-- | make/installwin.mk | 8 |
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 |