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
+ debian/prometheus.debian
dpkg-buildpackage
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
+prometheus (0.7.8-1) stable; urgency=low
+
+ * Experimental package from version 0.7.8
+
+ -- xChaos <xchaos@arachne.cz> Thu, 02 Feg 2008 14:06:00 +0100
+
prometheus (0.7.7-2) stable; urgency=low
* Otestovani instalace a oprava chyb - prvni bastl ;-)
#!/bin/bash
arch=`dpkg-architecture -qDEB_HOST_ARCH`
-version=`grep VERSION Makefile | gawk -F= '{ print $2 }'`
-package=`grep PACKAGE Makefile | gawk -F= '{ print $2 }'`
-maintainer='gandalf <gandalf@arachne.cz>'
+version=`grep VERSION= Makefile | cut -d = -f 2`
+package=`grep PACKAGE= Makefile | cut -d = -f 2`
+maintainer="gandalf <gandalf@arachne.cz>"
+control=debian/prometheus.control
#patch -Nl <debian/prometheus.patch
-e "s/__VERSION__/$version/" \
-e "s/__PACKAGE__/$package/" \
-e "s/__MAINTAINER__/$maintainer/" \
- debian/prometheus.control > debian/control
+ $control > debian/control
-dpkg-buildpackage
bindir = /usr/sbin
mandir = /usr/share/man
sysconfdir = /etc
-destdir = $(CURDIR)/deb/prometheus
+destdir = $(CURDIR)/debian/prometheus
docdir = /usr/share/doc
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))