commit 2807442e2cff8645fc4fdb84efd257fe2b2c55a3 parent fd126192a196e02b2eaeaeb9c6fb359cd92b8a6a Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Wed, 4 Nov 2015 16:50:10 +0000 Revert make tgz change (needs to be ok without config.mak) Diffstat:
M | Makefile | | | 9 | +++++---- |
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile @@ -63,11 +63,12 @@ distclean: clean @exec rm -f config.mak src/include/$(package)/config.h tgz: distclean - @rm -rf /tmp/$(package)-$(version) && \ - cp -a . /tmp/$(package)-$(version) && \ + @. package/info && \ + rm -rf /tmp/$$package-$$version && \ + cp -a . /tmp/$$package-$$version && \ cd /tmp && \ - tar -zpcv --owner=0 --group=0 --numeric-owner --exclude=.git* -f /tmp/$(package)-$(version).tar.gz $(package)-$(version) && \ - exec rm -rf /tmp/$(package)-$(version) + tar -zpcv --owner=0 --group=0 --numeric-owner --exclude=.git* -f /tmp/$$package-$$version.tar.gz $$package-$$version && \ + exec rm -rf /tmp/$$package-$$version strip: $(ALL_LIBS) $(ALL_BINS) ifneq ($(strip $(STATIC_LIBS)),)