X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=Makefile;h=eb33db8cc99219cfdf1a56aeca7431d7246cb75f;hp=d54e7ea619c3478f8f60ee09872cc50ab3eab2d0;hb=fc0d401038b4cf2dbf3b59d0253d31c0c1bc1e82;hpb=ec04fc0f482c16e1dc4845ee1ba469b89a387582 diff --git a/Makefile b/Makefile index d54e7ea..eb33db8 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,26 @@ PACKAGE=prometheus -VERSION=0.7.7 -CFLAGS=-Wall +VERSION=0.7.8 +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 - ./prometheus.debian - + debian/prometheus.debian + dpkg-buildpackage + +tgz: clean + cp -r . ../$(PACKAGE)-$(VERSION) + rm -rf ../$(PACKAGE)-$(VERSION)/.svn/ + rm -rf ../$(PACKAGE)-$(VERSION)/*/.svn/ + rm -rf ../$(PACKAGE)-$(VERSION)/*~ $(PACKAGE)-$(VERSION)/*/*~ + tar -czf ../$(PACKAGE)-$(VERSION).tar.gz ../$(PACKAGE)-$(VERSION) + rm -rf ../$(PACKAGE)-$(VERSION) + install: main install -d $(sbindir) install -d $(mandir)/man1 @@ -29,3 +38,4 @@ install: main clean: rm -f prometheus + rm -f optinal-tools/prometheus-stats