mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 03:50:36 +00:00
removing unused vars, and following conventions
This commit is contained in:
parent
99482a324e
commit
5d9ad219cf
1 changed files with 2 additions and 5 deletions
|
@ -1,8 +1,5 @@
|
||||||
BASEDIR := ../..
|
BASEDIR := ../..
|
||||||
PREFIX := usr
|
PREFIX := /usr
|
||||||
BINDIR := $(PREFIX)/bin
|
|
||||||
DATADIR := $(PREFIX)/share
|
|
||||||
MANDIR := $(DATADIR)/man
|
|
||||||
HEADER := $(BASEDIR)/gmqcc.h
|
HEADER := $(BASEDIR)/gmqcc.h
|
||||||
MAJOR := `sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' $(HEADER)`
|
MAJOR := `sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' $(HEADER)`
|
||||||
MINOR := `sed -n -e '/GMQCC_VERSION_MINOR/{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
|
DEB := $(DEBDIR).deb
|
||||||
|
|
||||||
base:
|
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
|
@install -d -m755 $(DEBDIR)/DEBIAN
|
||||||
@cp control $(DEBDIR)/DEBIAN/
|
@cp control $(DEBDIR)/DEBIAN/
|
||||||
@tar czf data.tar.gz $(DEBDIR)/[a-z]*
|
@tar czf data.tar.gz $(DEBDIR)/[a-z]*
|
||||||
|
|
Loading…
Reference in a new issue