aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 14362f4..0b3dca2 100644
--- a/Makefile
+++ b/Makefile
@@ -55,8 +55,9 @@ install:
install -m 644 data/xfce4/*.xrdb $(DESTDIR)$(xfceconfdir)/xfce4
dist:
- rm -rf ../$(NAME)-$(XFCEVERSION)*.tar*
- @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz;
+ rm -rf $(NAME)-$(XFCEVERSION)*.tar*
+ @git config tar.tar.xz.command "xz -c";
+ @git archive --prefix=$(NAME)-$(VERSION)/ -o $(NAME)-$(VERSION).tar.xz HEAD;
$(info $(NAME)-$(VERSION).tar.xz is ready)