From: Wolfgang Bumiller Date: Thu, 17 Jan 2013 22:46:27 +0000 (+0100) Subject: removing unused vars, and following conventions X-Git-Tag: before-library~230 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5d9ad219cf60d0bc69640e7909869187629b1311;p=xonotic%2Fgmqcc.git removing unused vars, and following conventions --- diff --git a/distro/deb/Makefile b/distro/deb/Makefile index 2833e4b..5a00ec2 100644 --- a/distro/deb/Makefile +++ b/distro/deb/Makefile @@ -1,8 +1,5 @@ BASEDIR := ../.. -PREFIX := usr -BINDIR := $(PREFIX)/bin -DATADIR := $(PREFIX)/share -MANDIR := $(DATADIR)/man +PREFIX := /usr HEADER := $(BASEDIR)/gmqcc.h MAJOR := `sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' $(HEADER)` MINOR := `sed -n -e '/GMQCC_VERSION_MINOR/{s/.* .* //;p;q;}' $(HEADER)` @@ -11,7 +8,7 @@ DEBDIR := gmqcc-$(MAJOR).$(MINOR).$(PATCH) DEB := $(DEBDIR).deb base: - $(MAKE) -C $(BASEDIR) DESTDIR=distro/deb/$(DEBDIR)/ PREFIX=$(PREFIX) install + $(MAKE) -C $(BASEDIR) DESTDIR=distro/deb/$(DEBDIR) PREFIX=$(PREFIX) install @install -d -m755 $(DEBDIR)/DEBIAN @cp control $(DEBDIR)/DEBIAN/ @tar czf data.tar.gz $(DEBDIR)/[a-z]*