commit test
[svn/Prometheus-QoS/.git] / Makefile
index 98df0556f8b89c52aa7464e2e9e942255b7e0c4a..767f430c37dcba3cfbfd312c82290f4dad878fa6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,24 +4,21 @@ 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 <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.134124 seconds and 4 git commands to generate.