aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-03-05 13:06:20 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-03-05 13:06:20 +0000
commitfd2b34913be5547bdfffd7e7aecde3f15f387874 (patch)
tree458baddf6d47890e9cdd713096eec11d0e89a5ef /Makefile
parent779d3547b45cc562f9ff33704f29b622f29a0227 (diff)
downloadspec-helper-fd2b34913be5547bdfffd7e7aecde3f15f387874.tar
spec-helper-fd2b34913be5547bdfffd7e7aecde3f15f387874.tar.gz
spec-helper-fd2b34913be5547bdfffd7e7aecde3f15f387874.tar.bz2
spec-helper-fd2b34913be5547bdfffd7e7aecde3f15f387874.tar.xz
spec-helper-fd2b34913be5547bdfffd7e7aecde3f15f387874.zip
compress tarball with xz rather than bz2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9a761da..2abc8a8 100644
--- a/Makefile
+++ b/Makefile
@@ -43,17 +43,17 @@ test:
localdist: cleandist dir localcopy tar
cleandist: clean
- rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2
+ rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz
dir:
- mkdir $(PACKAGE)-$(VERSION)
+ mkdir -p $(PACKAGE)-$(VERSION)
localcopy: dir
tar cf - $(FILES) | (cd $(PACKAGE)-$(VERSION) ; tar xf -)
tar: dir localcopy
tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
- bzip2 -9vf $(PACKAGE)-$(VERSION).tar
+ xz -vf $(PACKAGE)-$(VERSION).tar
rm -rf $(PACKAGE)-$(VERSION)
# rules to build a public distribution