From 8f34567bdefbf9445062b77d8fb623cef91f718e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sat, 18 Jan 2020 10:59:56 +0200 Subject: Makefile: update dist target --- Makefile | 5 +++-- 1 file 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) -- cgit v1.2.1