summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-11-04 16:47:41 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-11-04 16:47:41 +0000
commitf5beb209d01086128c8b25e72a9de594032701b6 (patch)
treeb69630ac517f564626f66cbc58ae755a23f0f910 /Makefile
parent4fe9eb2da11302fcc7b430a978146536729163e3 (diff)
downloadskalibs-f5beb209d01086128c8b25e72a9de594032701b6.tar.xz
- revert make tgz change (needs to be ok without a config.mak)v2.3.8.2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index bd4ebb0..99e500a 100644
--- a/Makefile
+++ b/Makefile
@@ -60,11 +60,12 @@ distclean: clean
@exec rm -rf config.mak src/include/$(package)/config.h sysdeps.cfg
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)
exec $(STRIP) -x -R .note -R .comment -R .note.GNU-stack $(STATIC_LIBS)