]> err.no Git - varnish/commitdiff
Debian packaging: do not ignore all errors from make distclean
authorssm <ssm@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 11 Dec 2007 06:10:47 +0000 (06:10 +0000)
committerssm <ssm@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 11 Dec 2007 06:10:47 +0000 (06:10 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2289 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/debian/rules

index 715306aad18064175482aa8a5d5c8de8c5d02dc0..b1207db51f8175374969f288bc43b337eb79c004 100755 (executable)
@@ -49,7 +49,7 @@ clean:
        dh_testroot
        rm -f build-stamp 
 
-       -$(MAKE) distclean
+       [ ! -f Makefile ] || $(MAKE) distclean
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
        cp -f /usr/share/misc/config.sub config.sub
 endif