tags 381565 + patch
user [EMAIL PROTECTED]
usertag 381565 + ubuntu-patch
thanks
Hello,
here is the patch I applied to the Ubuntu package to fix the bashism.
Regards,
Michael
diff -Nru libdebug-0.4.2/debian/rules libdebug-0.4.2ubuntu1/debian/rules
--- libdebug-0.4.2/debian/rules 2003-10-26 14:21:08.000000000 +0100
+++ libdebug-0.4.2ubuntu1/debian/rules 2008-01-01 19:41:20.000000000 +0100
@@ -22,10 +22,10 @@
clean:
dh_testdir
dh_testroot
- -$(MAKE) clean
+ [ ! -f Makefile ] || $(MAKE) clean
dh_clean
- rm -f {,$(CURDIR)/debian/}{build,configure}-stamp
- rm -rf $(CURDIR)/debian/{libdebug-dev,libdebug,tmp}
+ rm -f build-stamp configure-stamp $(CURDIR)/debian/build-stamp
$(CURDIR)/debian/configure-stamp
+ rm -rf $(CURDIR)/debian/libdebug-dev $(CURDIR)/debian/libdebug
$(CURDIR)/debian/tmp
install: build
dh_testdir
diff -Nru libdebug-0.4.2/Makefile libdebug-0.4.2ubuntu1/Makefile
--- libdebug-0.4.2/Makefile 2003-10-26 00:31:51.000000000 +0200
+++ libdebug-0.4.2ubuntu1/Makefile 2008-01-01 19:50:53.000000000 +0100
@@ -54,15 +54,16 @@
dpkg-buildpackage -rfakeroot -k2B555AEE
distclean::
- rm -f {configure,build}-stamp
- rm -f debian/*.{debhelper,substvars} debian/{substvars,files,*~}
- rm -rf debian/{libdebug0-dev,libdebug0,tmp}
+ rm -f configure-stamp build-stamp
+ rm -f debian/*.debhelper debian/*.substvars
+ rm -f debian/substvars debian/files debian/*~
+ rm -rf debian/libdebug0-dev debian/libdebug0 debian/tmp
find . -name "*~" -exec rm -f {} \;
find . -name ".index" -exec rm -f {} \;
install::
$(INSTALL) -d $(libdir)
- for F in $(shell find include/debug -name "*.h"); do $(INSTALL) -c -D
-m 0644 $$F $(includedir)$${F/include\///}; done
+ for F in $(shell find include/debug -name "*.h"); do $(INSTALL) -c -D
-m 0644 $$F $(includedir)$${F#include}; done
uninstall::
rm -rf $(includedir)/debug
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]