[Pkg-kde-extras] Bug#424415: Patch

Mario Iseli mario at marioiseli.com
Mon Jun 11 00:43:00 UTC 2007


Here's my patch...

-- 
  .''`.     Mario Iseli <admin at marioiseli.com>
 : :'  :    proud user of Debian unstable
 `. `'`
   `-  Debian - when you have better things to do than fixing a system
-------------- next part --------------
diff -Naur icecc-0.7.14/debian/rules icecc-0.7.14.new/debian/rules
--- icecc-0.7.14/debian/rules	2007-06-11 02:40:05.000000000 +0200
+++ icecc-0.7.14.new/debian/rules	2007-06-11 02:31:55.000000000 +0200
@@ -8,6 +8,18 @@
 DEB_INSTALL_MANPAGES_icecc := icecc.1 icecc-create-env.1 icecc-scheduler.1 iceccd.1
 
 makebuilddir/icecc::
+ifneq "$(wildcard config.guess)" ""
+	cp config.guess config.guess.old
+endif
+ifneq "$(wildcard config.sub)" ""
+	cp config.sub config.sub.old
+endif
+ifneq "$(wildcard ltmain.sh)" ""
+	cp ltmain.sh ltmain.sh.old
+endif
+ifneq "$(wildcard install-sh)" ""
+	cp install-sh install-sh.old
+endif
 	$(MAKE) -f Makefile.cvs
 
 build/icecc::
@@ -19,6 +31,18 @@
 	install -D -p -m0644 debian/icecc.conf debian/icecc/etc/icecc/icecc.conf
 
 clean::
+ifneq "$(wildcard config.guess.old)" ""
+	mv config.guess.old config.guess
+endif
+ifneq "$(wildcard config.sub.old)" ""
+	mv config.sub.old config.sub
+endif
+ifneq "$(wildcard ltmain.sh.old)" ""
+	mv ltmain.sh.old ltmain.sh
+endif
+ifneq "$(wildcard install-sh)" ""
+	mv install-sh.old install-sh
+endif
 	rm -f *.1
 
 get-orig-source:


More information about the pkg-kde-extras mailing list