summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-02 11:12:39 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-02 11:12:39 +0100
commitfaf45f1cf5905f5ef4b76ac3727bd1f83eba38a1 (patch)
treec578700d57809634393144492e7ee24c738de6bc /makefiles
parent36f34ed481c02e1f11ad848d1b5ba65ba6cbd646 (diff)
downloadwolfbones-faf45f1cf5905f5ef4b76ac3727bd1f83eba38a1.tar.gz
wolfbones-faf45f1cf5905f5ef4b76ac3727bd1f83eba38a1.tar.bz2
regenerate platform variables also after a 'clean' (not only 'distclean'), don't pack it in 'dist'
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/gmake/dist.mk1
-rw-r--r--makefiles/gmake/top.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/makefiles/gmake/dist.mk b/makefiles/gmake/dist.mk
index 50a4a81..85ceae7 100644
--- a/makefiles/gmake/dist.mk
+++ b/makefiles/gmake/dist.mk
@@ -17,6 +17,7 @@ dist:
cp -r * /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/.
-@cd /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION) ; \
$(MAKE) distclean ; \
+ rm -f makefiles/gmake/platform.mk.vars; \
find . -name .svn -exec rm -rf {} \; ; \
find . -name .git -exec rm -rf {} \; ; \
cd .. ; \
diff --git a/makefiles/gmake/top.mk b/makefiles/gmake/top.mk
index 1210751..037c37f 100644
--- a/makefiles/gmake/top.mk
+++ b/makefiles/gmake/top.mk
@@ -24,6 +24,7 @@ all:
clean:
@test -z "$(SUBDIRS)" || ( set -e; for d in $(SUBDIRS)""; do \
(set -e; $(MAKE) -C $$d clean || exit 1); done)
+ @-rm $(TOPDIR)/makefiles/gmake/platform.mk.vars
.PHONY: distclean
distclean: