diff options
author | Papoteur <papoteur@mageia.org> | 2023-07-15 16:09:28 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2023-07-15 16:09:28 +0200 |
commit | f5a8acf7122523a25231d31b21844b39d2f05d05 (patch) | |
tree | 0debec93030af5ee069b25232453cf8d4c92bfb8 /Makefile | |
parent | 862c70f124ddd7224cbf5c7207aff402951322ea (diff) | |
download | mageiawelcome-f5a8acf7122523a25231d31b21844b39d2f05d05.tar mageiawelcome-f5a8acf7122523a25231d31b21844b39d2f05d05.tar.gz mageiawelcome-f5a8acf7122523a25231d31b21844b39d2f05d05.tar.bz2 mageiawelcome-f5a8acf7122523a25231d31b21844b39d2f05d05.tar.xz mageiawelcome-f5a8acf7122523a25231d31b21844b39d2f05d05.zip |
2.24 Fix how the tarball is build
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -1,5 +1,5 @@ PACKAGE = mageiawelcome -VERSION = 2.23 +VERSION = 2.24 GITPATH = git://git.mageia.org/software/mageiawelcome TEXT_FILES = Makefile @@ -25,16 +25,9 @@ cleandist: clean install: version make -C po DESTDIR=$(RPM_BUILD_ROOT)/usr install -dir: - mkdir $(PACKAGE)-$(VERSION) - dist: tar -localcopy: dir - tar c --exclude=.git $(FILES) | tar x -C $(PACKAGE)-$(VERSION) - -tar: localcopy - tar cvYf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION) - rm -fr $(PACKAGE)-$(VERSION) +tar: + git archive --prefix $(PACKAGE)-$(VERSION)/ $(VERSION) | xz -9 > $(PACKAGE)-$(VERSION).tar.xz -dist: cleandist version dir localcopy tar +dist: cleandist version tar |