PACKAGE=prometheus
-VERSION=0.7.8
+VERSION=0.8.2
CFLAGS=-std=c99 -Wall
prefix=/usr
mandir=$(prefix)/share/man
sysconfdir=/etc
main: prometheus
- $(CC) -o prometheus prometheus.c
+ $(CC) -o prometheus parsehosts.c parselogs.c prometheus.c
deb: main
debian/prometheus.debian
- dpkg-buildpackage
+ dpkg-buildpackage -rfakeroot
tgz: clean
cp -r . ../$(PACKAGE)-$(VERSION)