From: Dale Weiler Date: Thu, 21 Mar 2013 06:17:50 +0000 (+0000) Subject: Make variable for flexibility X-Git-Tag: before-library~81 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=58a04a04e5f6586c391940df8016500ff76809f2;p=xonotic%2Fgmqcc.git Make variable for flexibility --- diff --git a/distro/archlinux/this/Makefile b/distro/archlinux/this/Makefile index df94ff3..bf5a3e8 100644 --- a/distro/archlinux/this/Makefile +++ b/distro/archlinux/this/Makefile @@ -9,6 +9,7 @@ CARCH := $(shell uname -m) PKGDIR := gmqcc-$(MAJOR).$(MINOR).$(PATCH)-$(PKGREL)-$(CARCH) PKG := $(PKGDIR).pkg.tar.xz PKGINFO := $(PKGDIR)/.PKGINFO +DESTDIR := distro/archlinux/this/$(PKGDIR) CFLAGS := @@ -18,7 +19,7 @@ endif base: $(MAKE) -C $(BASEDIR) clean - $(MAKE) -C $(BASEDIR) OPTIONAL=$(CFLAGS) DESTDIR=distro/archlinux/this/$(PKGDIR) PREFIX=$(PREFIX) install + $(MAKE) -C $(BASEDIR) OPTIONAL=$(CFLAGS) DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) install @echo "pkgname = gmqcc" > $(PKGINFO) @echo "pkgver = $(MAJOR).$(MINOR).$(PATCH)-$(PKGREL)" >> $(PKGINFO) @echo "pkgdesc = An Improved Quake C Compiler" >> $(PKGINFO)