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 8147a50..85e525b 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/*