summaryrefslogtreecommitdiff
path: root/cross.mk
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-05-26 13:52:23 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-05-26 13:54:14 +0200
commitf5c539c07bc60fcbb7748cac68fc3eebb63866e5 (patch)
treed76bbe33b821e1ef58ef2eca5af34c9f5d7b18ee /cross.mk
parent9d67d48d9a190ba7e2033f0fb5fab8ab13e8f6ba (diff)
downloadgnutls-f5c539c07bc60fcbb7748cac68fc3eebb63866e5.tar.gz
updated cross compilation makefile.
Diffstat (limited to 'cross.mk')
-rw-r--r--cross.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/cross.mk b/cross.mk
index 8161b09ba2..08f20dc31d 100644
--- a/cross.mk
+++ b/cross.mk
@@ -27,12 +27,11 @@ $(GNUTLS_DIR)-w32.zip: $(LIB_DIR) $(BIN_DIR) $(GNUTLS_DIR)/.installed
cd $(CROSS_DIR) && zip -r $(PWD)/$@ *
gpg --sign --detach $(GNUTLS_DIR)-w32.zip
-gnutls-$(GNUTLS_VERSION)-1gn.DevPak: $(GNUTLS_DIR)-w32.zip
+gnutls-$(GNUTLS_VERSION)-1gn.DevPak: $(GNUTLS_DIR)-w32.zip devcpp.tar
rm -rf $(DEVCPP_DIR)
- mkdir -p $(DEVCPP_DIR)/gnutls
- mkdir -p $(DEVCPP_DIR)/MinGW32
- cd $(DEVCPP_DIR)/gnutls && unzip ../../$(GNUTLS_DIR)-w32.zip
- cd $(DEVCPP_DIR) && tar xf ../../devcpp.tar && sed -i 's/@VERSION@/$(GNUTLS_VERSION)/g' gnutls.DevPackage
+ mkdir -p $(DEVCPP_DIR)
+ cd $(DEVCPP_DIR) && unzip ../$(GNUTLS_DIR)-w32.zip
+ cd $(DEVCPP_DIR) && tar xf ../devcpp.tar && sed -i 's/@VERSION@/$(GNUTLS_VERSION)/g' gnutls.DevPackage
cd $(DEVCPP_DIR) && tar -cjf ../$@ .
devpak: gnutls-$(GNUTLS_VERSION)-1gn.DevPak