diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-03-05 13:06:20 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-03-05 13:06:20 +0000 |
commit | fd2b34913be5547bdfffd7e7aecde3f15f387874 (patch) | |
tree | 458baddf6d47890e9cdd713096eec11d0e89a5ef | |
parent | 779d3547b45cc562f9ff33704f29b622f29a0227 (diff) | |
download | spec-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
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |