From: leslie Date: Wed, 7 Oct 2009 00:11:47 +0000 (+0800) Subject: fix dist make target X-Git-Tag: 0.9.3 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=4b090fb22a41580eda8886e20f1ced8e85ba8a53;p=sasc-ng.git fix dist make target --- diff --git a/Makefile b/Makefile index 544fc54..94994c0 100644 --- a/Makefile +++ b/Makefile @@ -259,7 +259,7 @@ dist: clean-core @echo -n "release" >$(TMPDIR)/$(ARCHIVE)/$(DISTFILE) @path="$(TMPDIR)/$(ARCHIVE)/$(notdir $(SYSDIR))";\ for i in `ls -A -I ".*" $$path`; do if [ -f "$$path/$$i/nonpublic.mk" ]; then rm -rf "$$path/$$i"; fi; if [ -f "$$path/$$i/nonpublic.sh" ]; then (cd $$path/$$i ; source ./nonpublic.sh ; rm ./nonpublic.sh); fi; done - @strip --strip-unneeded --preserve-dates $(TMPDIR)/$(ARCHIVE)/$(notdir $(PREDIR))/* + @strip --strip-unneeded --preserve-dates $(TMPDIR)/$(ARCHIVE)/$(notdir $(PREDIR))/* || true @tar czf vdr-$(ARCHIVE).tar.gz -C $(TMPDIR) $(ARCHIVE) @-rm -rf $(TMPDIR)/$(ARCHIVE) @echo Distribution package created as vdr-$(ARCHIVE).tar.gz