begining of code cleanup: more modular source code
[svn/Prometheus-QoS/.git] / Makefile
index 98df0556f8b89c52aa7464e2e9e942255b7e0c4a..2145cfb07afb23c8f8b7bd459961e22ab79995f9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,27 +1,24 @@
 PACKAGE=prometheus
-VERSION=0.7.8
+VERSION=0.8.2
 CFLAGS=-std=c99 -Wall
 prefix=/usr
 mandir=$(prefix)/share/man
 sbindir=$(prefix)/sbin
-sysconfdir=/etc/
+sysconfdir=/etc
 
 main: prometheus
-       $(CC) -o prometheus prometheus.c
+       $(CC) -o prometheus parselog.c prometheus.c
 
 deb: main
-       arch=`dpkg-architecture -qDEB_HOST_ARCH`
-       maintainer="gandalf <gandalf@arachne.cz>"
-       #patch -Nl <debian/prometheus.patch
-       sed -e "s/__ARCHITECTURE__/$(arch)/" -e "s/__VERSION__/($VERSION)/" -e "s/__PACKAGE__/($PACKAGE)/" -e "s/__MAINTAINER__/$(maintainer)/" debian/prometheus.control > debian/control
-       dpkg-buildpackage
+       debian/prometheus.debian
+       dpkg-buildpackage -rfakeroot
 
 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)
+       tar -czf ../$(PACKAGE)-$(VERSION).tar.gz ../$(PACKAGE)-$(VERSION)
        rm -rf ../$(PACKAGE)-$(VERSION)
 
 install: main
This page took 0.094096 seconds and 4 git commands to generate.