Fix debian package building, now works.

This commit is contained in:
Dale Weiler 2013-01-18 00:45:35 +00:00
parent 5d9ad219cf
commit 496aededb1
2 changed files with 13 additions and 8 deletions

View file

@ -10,13 +10,12 @@ DEB := $(DEBDIR).deb
base:
$(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]*
@tar czf control.tar.gz $(DEBDIR)/DEBIAN/*
@cp control $(DEBDIR)/DEBIAN/control
@tar czf data.tar.gz -C $(DEBDIR)/ . --exclude=DEBIAN
@tar czf control.tar.gz -C $(DEBDIR)/DEBIAN/ .
@echo 2.0 > debian-binary
@ar r $(DEB) debian-binary control.tar.gz data.tar.gz
@rm -rf $(DEBDIR) debian-binary control.tar.gz data.tar.gz
@rm -rf debian-binary control.tar.gz data.tar.gz $(DEBDIR)
clean:
@rm -f $(DEB)

View file

@ -1,7 +1,13 @@
Package: gmqcc
Version: 0.3.0
Section: user/hidden
Section: user/hidden
Priority: optional
Architecture: any
Architecture: i386
Installed-Size: `du -ks usr|cut -f 1`
Maintainer: <killfieldengine@gmail.com>
Maintainer: Dale Weiler <killfieldengine@gmail.com>
Description: An improved Quake C Compiler
For an enduring period of time the options for a decent compiler for the Quake C programming language
were confined to a specific compiler known as QCC. Attempts were made to extend and improve upon the
design of QCC, but many foreseen the consequences of building on a broken foundation. The solution
was obvious, a new compiler; one born from the NIH realm of sarcastic wit. We welcome you. You won't
find a better Quake C compiler.