summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-11-04 16:50:23 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-11-04 16:50:23 +0000
commit97549b8e8699da448e80e3370760592309b7e232 (patch)
tree6cf5b8c6d7dfe6e9f308e5ee6b7c108679ed8259
parent1c3bf0e9c0b2f6cc8d0ea5e7a2cff20b943a93aa (diff)
downloads6-rc-a3fd8bf4c0fcd0c5d004ee1de4d9aeb3608e4b4f.tar.xz
Revert make tgz change (needs to be ok without config.mak)v0.0.1.4
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 867f033..f5b8657 100644
--- 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)),)