summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-02-21 12:51:41 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-02-21 12:51:41 (GMT)
commit99c1a42aacfd0679ebbce6b89b9f57567601fca3 (patch)
tree76c5bd8160f96138c0cfabb503d15a9552e735ec /Makefile
parent28de5bb452d81649885d10726eb447ef4de5b685 (diff)
downloadmxe-99c1a42aacfd0679ebbce6b89b9f57567601fca3.zip
mxe-99c1a42aacfd0679ebbce6b89b9f57567601fca3.tar.gz
mxe-99c1a42aacfd0679ebbce6b89b9f57567601fca3.tar.bz2
bugfix: add test scripts as dependency files, and put them into the distribution tarball
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ab057fe..5ff6a29 100644
--- a/Makefile
+++ b/Makefile
@@ -96,6 +96,7 @@ download-$(1): $(addprefix download-,$($(1)_DEPS))
$(1): $(PREFIX)/installed/$(1)
$(PREFIX)/installed/$(1): $(TOP_DIR)/src/$(1).mk \
$(wildcard $(TOP_DIR)/src/$(1)-*.patch) \
+ $(wildcard $(TOP_DIR)/src/$(1)-test*) \
$(addprefix $(PREFIX)/installed/,$($(1)_DEPS))
@[ -d '$(LOG_DIR)/$(TIMESTAMP)' ] || mkdir -p '$(LOG_DIR)/$(TIMESTAMP)'
@[ -d '$(PKG_DIR)' ] || mkdir -p '$(PKG_DIR)'
@@ -234,6 +235,7 @@ dist:
cp -p '$(TOP_DIR)/Makefile' '$(DIST_DIR)/mingw-cross-env-$(VERSION)/'
cp -p '$(TOP_DIR)/src'/*.mk '$(DIST_DIR)/mingw-cross-env-$(VERSION)/src/'
cp -p '$(TOP_DIR)/src'/*.patch '$(DIST_DIR)/mingw-cross-env-$(VERSION)/src/'
+ cp -p '$(TOP_DIR)/src'/*-test* '$(DIST_DIR)/mingw-cross-env-$(VERSION)/src/'
(cd '$(DIST_DIR)' && tar cvf - 'mingw-cross-env-$(VERSION)' | gzip -9) >'$(DIST_DIR)/releases/mingw-cross-env-$(VERSION).tar.gz'
rm -rf '$(DIST_DIR)/mingw-cross-env-$(VERSION)'