diff --git a/debian/changelog b/debian/changelog index 2fcc592..8a9e1b8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,8 +10,9 @@ ps-watcher (1.06-9) unstable; urgency=low daemon * adjust init script since the daemon supports writing pidfiles * make use of pidof in preinst + * move copy of config.guess and and config.sub into config.status target - -- Jan Wagner Thu, 03 Apr 2008 00:00:34 +0200 + -- Jan Wagner Thu, 03 Apr 2008 00:23:39 +0200 ps-watcher (1.06-8) unstable; urgency=low diff --git a/debian/rules b/debian/rules index de0c307..33df5d5 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,12 @@ include /usr/share/dpatch/dpatch.make config.status: patch-stamp configure dh_testdir +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif # Add here commands to configure the package. ./configure --prefix=/usr --mandir=\$${prefix}/share/man @@ -27,13 +33,6 @@ clean: unpatch # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) clean -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - dh_clean install: build