X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=Makefile;h=eb33db8cc99219cfdf1a56aeca7431d7246cb75f;hp=45ac40f4beb273d13d7ecc5064796e99d58ba69c;hb=03a8ebc89cec35513922872b2f87bc63cb78c669;hpb=ae776b1091bfdea4e2764ccb2652471ee5c9ce00 diff --git a/Makefile b/Makefile index 45ac40f..eb33db8 100644 --- a/Makefile +++ b/Makefile @@ -4,16 +4,13 @@ CFLAGS=-std=c99 -Wall prefix=/usr mandir=$(prefix)/share/man sbindir=$(prefix)/sbin -sysconfdir=/etc/ +sysconfdir=/etc main: prometheus $(CC) -o prometheus prometheus.c deb: main - arch=`dpkg-architecture -qDEB_HOST_ARCH` - maintainer="gandalf " - #patch -Nl deb/control + debian/prometheus.debian dpkg-buildpackage tgz: clean @@ -21,7 +18,7 @@ tgz: clean rm -rf ../$(PACKAGE)-$(VERSION)/.svn/ rm -rf ../$(PACKAGE)-$(VERSION)/*/.svn/ rm -rf ../$(PACKAGE)-$(VERSION)/*~ $(PACKAGE)-$(VERSION)/*/*~ - tar -czf $(PACKAGE)-$(VERSION).tar.gz ../$(PACKAGE)-$(VERSION) + tar -czf ../$(PACKAGE)-$(VERSION).tar.gz ../$(PACKAGE)-$(VERSION) rm -rf ../$(PACKAGE)-$(VERSION) install: main