Code

Do not ignore "make clean" errors.
authorSebastian Harl <sh@tokkee.org>
Mon, 17 Dec 2007 15:09:17 +0000 (15:09 +0000)
committerSebastian Harl <sh@tokkee.org>
Mon, 17 Dec 2007 15:09:17 +0000 (15:09 +0000)
debian/rules

index b6c0470ba1e1aeed34a98e0a74a834798f22538d..2580ad4ee98b700cefe05c861a7c0683c8faaacf 100755 (executable)
@@ -40,7 +40,7 @@ clean:
        dh_testroot
        rm -f build-stamp 
        
        dh_testroot
        rm -f build-stamp 
        
-       -$(MAKE) distclean
+       [ ! -f Makefile ] || $(MAKE) distclean
        for file in config.guess config.sub; do \
                if [ -e $$file.upstream ]; then \
                        rm -f $$file; \
        for file in config.guess config.sub; do \
                if [ -e $$file.upstream ]; then \
                        rm -f $$file; \