Commit 4ad2659b authored by Natanael Copa's avatar Natanael Copa
Browse files

Makefile: new dist target

parent cfdef51b
...@@ -51,10 +51,16 @@ install:: ...@@ -51,10 +51,16 @@ install::
dist: clean::
svn-clean rm -rf $(TARBALL)
(TOP=`pwd` && cd .. && ln -s $$TOP apk-tools-$(VERSION) && \
tar --exclude '*/.svn*' -cjvf apk-tools-$(VERSION).tar.bz2 apk-tools-$(VERSION)/* && \ TARBALL := apk-tools-$(VERSION).tar.bz2
rm apk-tools-$(VERSION)) dist: $(TARBALL)
rm -rf apk-tools
git clone . apk-tools
cd apk-tools && (cd .. && git diff) | patch -p1
tar -cjf $@ apk-tools
rm -rf apk-tools
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment