From 71934917aa5f64c25d8d12d19bdc2a59dfe309f2 Mon Sep 17 00:00:00 2001 From: octo Date: Mon, 1 May 2006 11:03:39 +0000 Subject: [PATCH] Fix problems with the Debian package --- ToDo | 3 ++- debian/rules | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ToDo b/ToDo index 6ebf1066..c1f0e812 100644 --- a/ToDo +++ b/ToDo @@ -1,2 +1,3 @@ - Write manpage -- Catch SIGINT in `oping' +- Rename `liboping.h' to `oping.h' + diff --git a/debian/rules b/debian/rules index 02f7d0b2..b663c35b 100755 --- a/debian/rules +++ b/debian/rules @@ -22,7 +22,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -CFLAGS = -Wall -Werror -g +CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 @@ -67,7 +67,7 @@ endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - + rm -rf $(CURDIR)/debian/tmp || true dh_clean @@ -88,9 +88,13 @@ install-arch: dh_testdir dh_testroot dh_clean -k -s - dh_installdirs -s + dh_installdirs --all - $(MAKE) install DESTDIR=$(CURDIR)/debian/liboping + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + mv -v $(CURDIR)/debian/tmp/usr/lib/*.so $(CURDIR)/debian/liboping/usr/lib/ + mv -v $(CURDIR)/debian/tmp/usr/lib/*.{a,la} $(CURDIR)/debian/liboping-dev/usr/lib/ + mv -v $(CURDIR)/debian/tmp/usr/include/*.h $(CURDIR)/debian/liboping-dev/usr/include/ + mv -v $(CURDIR)/debian/tmp/usr/bin/* $(CURDIR)/debian/oping/usr/bin/ dh_install -s # Must not depend on anything. This is to be called by -- 2.30.2