summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-11-04 16:50:10 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-11-04 16:50:10 +0000
commit2807442e2cff8645fc4fdb84efd257fe2b2c55a3 (patch)
tree0862417a75d3c0b7385caa3d3123754b94aa9a37 /Makefile
parentfd126192a196e02b2eaeaeb9c6fb359cd92b8a6a (diff)
downloads6-2807442e2cff8645fc4fdb84efd257fe2b2c55a3.tar.xz
Revert make tgz change (needs to be ok without config.mak)v2.2.2.2
Diffstat (limited to 'Makefile')
-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)),)