aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2020-01-18 10:59:56 +0200
committerJani Välimaa <wally@mageia.org>2020-01-18 10:59:56 +0200
commit8f34567bdefbf9445062b77d8fb623cef91f718e (patch)
tree1963cfe73bca8cf76e760850b1494c7ef43a447d
parent775b7b5d83041c3626e35fe7824628f61c4fd1cc (diff)
downloadconfig-8f34567bdefbf9445062b77d8fb623cef91f718e.tar
config-8f34567bdefbf9445062b77d8fb623cef91f718e.tar.gz
config-8f34567bdefbf9445062b77d8fb623cef91f718e.tar.bz2
config-8f34567bdefbf9445062b77d8fb623cef91f718e.tar.xz
config-8f34567bdefbf9445062b77d8fb623cef91f718e.zip
Makefile: update dist target
-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)