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
|
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
|
2020-01-03 03:01:10 +00:00
|
|
|
cp qpdf/$(OUTPUT_DIR)/fix-qdf.exe $(DEST)/bin
|
2009-10-22 15:57:41 +00:00
|
|
|
cp include/qpdf/*.h $(DEST)/include/qpdf
|
|
|
|
cp include/qpdf/*.hh $(DEST)/include/qpdf
|
2021-12-21 14:23:20 +00:00
|
|
|
if [ -d doc ]; then \
|
|
|
|
cp -r doc $(DEST); \
|
2021-12-18 16:19:20 +00:00
|
|
|
fi
|