Commit 449cb67915fd6037cf50c68e28f8accef413dae0

Authored by Jay Berkenbilt
1 parent e6a917ec

Make windows install not fail on missing docs

libtool make install already works this way.
Showing 1 changed file with 6 additions and 2 deletions
make/installwin.mk
@@ -18,5 +18,9 @@ installwin: all @@ -18,5 +18,9 @@ installwin: all
18 cp include/qpdf/*.h $(DEST)/include/qpdf 18 cp include/qpdf/*.h $(DEST)/include/qpdf
19 cp include/qpdf/*.hh $(DEST)/include/qpdf 19 cp include/qpdf/*.hh $(DEST)/include/qpdf
20 cp doc/stylesheet.css $(DEST)/doc 20 cp doc/stylesheet.css $(DEST)/doc
21 - cp doc/qpdf-manual.html $(DEST)/doc  
22 - cp doc/qpdf-manual.pdf $(DEST)/doc 21 + if [ -f doc/qpdf-manual.html ]; then \
  22 + cp doc/qpdf-manual.html $(DEST)/doc; \
  23 + fi
  24 + if [ -f doc/qpdf-manual.pdf ]; then \
  25 + doc/qpdf-manual.pdf $(DEST)/doc; \
  26 + fi