]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
distro/archlinux/this/Makefile: TARCOMP variable contains the compression flag, rathe...
authorWolfgang Bumiller <wry.git@bumiller.com>
Fri, 11 Oct 2013 09:17:03 +0000 (11:17 +0200)
committerWolfgang Bumiller <wry.git@bumiller.com>
Fri, 11 Oct 2013 09:17:03 +0000 (11:17 +0200)
distro/archlinux/this/Makefile

index 97f2565a0dde2c04ac1ee09b5a163791d921b186..e89880ff5548beb04c4347c39c89c909bc05cb86 100644 (file)
@@ -7,6 +7,7 @@ PATCH   := $(shell sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' $(HEADER))
 PKGREL  := 1
 CARCH   := $(shell uname -m)
 PKGDIR  := gmqcc-$(MAJOR).$(MINOR).$(PATCH)-$(PKGREL)-$(CARCH)
+TARCOMP := -J
 PKG     := $(PKGDIR).pkg.tar.xz
 PKGINFO := $(PKGDIR)/.PKGINFO
 DESTDIR := distro/archlinux/this
@@ -45,7 +46,7 @@ base:
            --format=mtree \
            --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' \
            .PKGINFO usr/
-       @bsdtar -cJvf $(PKG) -C $(PKGDIR)/ .PKGINFO .MTREE usr/
+       @bsdtar $(TARCOMP) -cvf $(PKG) -C $(PKGDIR)/ .PKGINFO .MTREE usr/
        @rm -rf $(PKGDIR)
 
 clean: