From 03a8ebc89cec35513922872b2f87bc63cb78c669 Mon Sep 17 00:00:00 2001 From: xchaos Date: Sat, 2 Feb 2008 13:15:33 +0000 Subject: [PATCH] make deb and make tgz works now (RPM directory not up-to date) git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@68 251d49ef-1d17-4917-a970-b30cf55b089b --- Makefile | 9 +++------ debian/changelog | 6 ++++++ prometheus.debian => debian/prometheus.debian | 10 +++++----- debian/rules | 2 +- 4 files changed, 15 insertions(+), 12 deletions(-) rename prometheus.debian => debian/prometheus.debian (53%) diff --git a/Makefile b/Makefile index 98df055..eb33db8 100644 --- a/Makefile +++ b/Makefile @@ -4,16 +4,13 @@ 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 " - #patch -Nl debian/control + debian/prometheus.debian dpkg-buildpackage tgz: clean @@ -21,7 +18,7 @@ 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 diff --git a/debian/changelog b/debian/changelog index 9381195..3b15010 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +prometheus (0.7.8-1) stable; urgency=low + + * Experimental package from version 0.7.8 + + -- xChaos Thu, 02 Feg 2008 14:06:00 +0100 + prometheus (0.7.7-2) stable; urgency=low * Otestovani instalace a oprava chyb - prvni bastl ;-) diff --git a/prometheus.debian b/debian/prometheus.debian similarity index 53% rename from prometheus.debian rename to debian/prometheus.debian index d5487e5..c17d10c 100755 --- a/prometheus.debian +++ b/debian/prometheus.debian @@ -1,9 +1,10 @@ #!/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 ' +version=`grep VERSION= Makefile | cut -d = -f 2` +package=`grep PACKAGE= Makefile | cut -d = -f 2` +maintainer="gandalf " +control=debian/prometheus.control #patch -Nl debian/control + $control > debian/control -dpkg-buildpackage diff --git a/debian/rules b/debian/rules index 78ad66a..6d9f278 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ CFLAGS = -Wall -g 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))) -- 2.30.2