]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Use $(PREFIX)
authorDale Weiler <killfieldengine@gmail.com>
Thu, 17 Jan 2013 22:34:06 +0000 (22:34 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 17 Jan 2013 22:34:06 +0000 (22:34 +0000)
distro/deb/Makefile

index 8147a50e68b0308a9949322e831ca9446cac4776..85e525ba7e224f225f94157022a130e47340b9c2 100644 (file)
@@ -11,9 +11,9 @@ DEBDIR  := gmqcc-$(MAJOR).$(MINOR).$(PATCH)
 DEB     := $(DEBDIR).deb
 
 base:
-       $(MAKE) -C $(BASEDIR) DESTDIR=distro/deb/$(DEBDIR)/ PREFIX=usr install
+       $(MAKE) -C $(BASEDIR) DESTDIR=distro/deb/$(DEBDIR)/ PREFIX=$(PREFIX) install
        @install -d -m755 $(DEBDIR)/DEBIAN
-       @cp        control                $(DEBDIR)/DEBIAN/
+       @cp       control $(DEBDIR)/DEBIAN/
 
        @tar czf data.tar.gz $(DEBDIR)/[a-z]*
        @tar czf control.tar.gz $(DEBDIR)/DEBIAN/*