changeset 778:f8c2ff4cf740

bugfix: add test scripts as dependency files, and put them into the distribution tarball
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 21 Feb 2010 13:51:41 +0100
parents 3c0a2677f6e3
children 484c8efc8d91
files Makefile
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Feb 20 04:57:16 2010 +0100
+++ b/Makefile	Sun Feb 21 13:51:41 2010 +0100
@@ -96,6 +96,7 @@
 $(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 @@
 	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)'