2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-23 03:18:59 +00:00
qpdf/make/installwin.mk

22 lines
746 B
Makefile
Raw Normal View History

DEST=$(INSTALL_DIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
IMPORT_LIB_NAME := $(call libname,qpdf)
installwin: all
$(RM) -r $(INSTALL_DIR)
mkdir $(INSTALL_DIR)
mkdir $(DEST)
mkdir $(DEST)/bin
mkdir $(DEST)/lib
mkdir $(DEST)/include
mkdir $(DEST)/include/qpdf
cp libqpdf/$(OUTPUT_DIR)/$(IMPORT_LIB_NAME) $(DEST)/lib
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)
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
cp include/qpdf/*.h $(DEST)/include/qpdf
cp include/qpdf/*.hh $(DEST)/include/qpdf
if [ -d doc ]; then \
cp -r doc $(DEST); \
fi