summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-07-22 10:57:48 +0200
committerPapoteur <papoteur@mageia.org>2023-07-22 10:57:48 +0200
commit0d0058ad99c8ac7e1fa0e340203f1c5992ba9af7 (patch)
tree7d35bed05cf1baf07c601af3e64d9133a94d1d84 /Makefile
parentf5a8acf7122523a25231d31b21844b39d2f05d05 (diff)
downloadmageiawelcome-0d0058ad99c8ac7e1fa0e340203f1c5992ba9af7.tar
mageiawelcome-0d0058ad99c8ac7e1fa0e340203f1c5992ba9af7.tar.gz
mageiawelcome-0d0058ad99c8ac7e1fa0e340203f1c5992ba9af7.tar.bz2
mageiawelcome-0d0058ad99c8ac7e1fa0e340203f1c5992ba9af7.tar.xz
mageiawelcome-0d0058ad99c8ac7e1fa0e340203f1c5992ba9af7.zip
Improve make dist
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