From 4b090fb22a41580eda8886e20f1ced8e85ba8a53 Mon Sep 17 00:00:00 2001 From: leslie Date: Wed, 7 Oct 2009 08:11:47 +0800 Subject: [PATCH] fix dist make target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5