2009-10-22 15:57:41 +00:00
|
|
|
DEST=$(INSTALL_DIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
|
2018-08-14 20:28:52 +00:00
|
|
|
IMPORT_LIB_NAME := $(call libname,qpdf)
|
2009-10-22 15:20:41 +00:00
|
|
|
installwin: all
|
|
|
|
$(RM) -r $(INSTALL_DIR)
|
2009-10-22 15:40:31 +00:00
|
|
|
mkdir $(INSTALL_DIR)
|
2009-10-22 15:57:41 +00:00
|
|
|
mkdir $(DEST)
|
|
|
|
mkdir $(DEST)/bin
|
|
|
|
mkdir $(DEST)/lib
|
|
|
|
mkdir $(DEST)/include
|
|
|
|
mkdir $(DEST)/include/qpdf
|
|
|
|
mkdir $(DEST)/doc
|
2018-08-14 20:28:52 +00:00
|
|
|
cp libqpdf/$(OUTPUT_DIR)/$(IMPORT_LIB_NAME) $(DEST)/lib
|
2009-10-22 15:57:41 +00:00
|
|
|
cp libqpdf/$(OUTPUT_DIR)/qpdf*.dll $(DEST)/bin
|
2016-01-24 20:51:21 +00:00
|
|
|
perl copy_dlls libqpdf/$(OUTPUT_DIR)/qpdf*.dll $(DEST)/bin $(OBJDUMP) $(WINDOWS_WORDSIZE)
|
2009-10-22 15:57:41 +00:00
|
|
|
cp qpdf/$(OUTPUT_DIR)/qpdf.exe $(DEST)/bin
|
|
|
|
cp zlib-flate/$(OUTPUT_DIR)/zlib-flate.exe $(DEST)/bin
|
|
|
|
cp qpdf/fix-qdf $(DEST)/bin
|
|
|
|
cp include/qpdf/*.h $(DEST)/include/qpdf
|
|
|
|
cp include/qpdf/*.hh $(DEST)/include/qpdf
|
|
|
|
cp doc/stylesheet.css $(DEST)/doc
|
2018-10-11 20:20:41 +00:00
|
|
|
if [ -f doc/qpdf-manual.html ]; then \
|
|
|
|
cp doc/qpdf-manual.html $(DEST)/doc; \
|
|
|
|
fi
|
|
|
|
if [ -f doc/qpdf-manual.pdf ]; then \
|
2018-10-11 22:32:38 +00:00
|
|
|
cp doc/qpdf-manual.pdf $(DEST)/doc; \
|
2018-10-11 20:20:41 +00:00
|
|
|
fi
|