Package: gnucash
Version: 2.2.6-1

Current debian/rules ignore make errors on clean. It should instead
check if a makefile exist. If not, it shouldn't call make clean.

I attach a patch on the bug report which fixes that issue.


-- 
Saïvann





diff -ruN gnucash-2.2.6.orig/debian/rules gnucash-2.2.6/debian/rules
--- gnucash-2.2.6.orig/debian/rules     2008-08-10 23:51:47.000000000 -0400
+++ gnucash-2.2.6/debian/rules  2008-08-10 23:53:12.000000000 -0400
@@ -38,7 +38,7 @@
 clean:
        dh_testdir
        dh_testroot
-       -$(MAKE) clean
+        [ ! -e Makefile ] || $(MAKE) clean
        -rm -f configure-stamp build-stamp install-stamp config.log 
config.cache config.status
        -rm -f po/*.gmo src/gnome/gnucash src/gnome/g-wrapped
        -rm -f po/.intltool-merge-cache

Reply via email to