From 449cb67915fd6037cf50c68e28f8accef413dae0 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 11 Oct 2018 16:20:41 -0400 Subject: [PATCH] Make windows install not fail on missing docs libtool make install already works this way. --- make/installwin.mk | 8 ++++++-- 1 file 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