summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 883a13a..4b4cf76 100644
--- a/Makefile
+++ b/Makefile
@@ -25,9 +25,7 @@ cleandist: clean
install: version
make -C po DESTDIR=$(RPM_BUILD_ROOT)/usr install
-dist: tar
-
-tar:
+tar: version
git archive --prefix $(PACKAGE)-$(VERSION)/ $(VERSION) | xz -9 > $(PACKAGE)-$(VERSION).tar.xz
-dist: cleandist version tar
+dist: version tar