chiark / gitweb /
fix debian/rules clean when there is no makefile yet
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 12 Feb 2011 12:59:15 +0000 (12:59 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 12 Feb 2011 12:59:15 +0000 (12:59 +0000)
debian/rules

index 1861c13..4d37b27 100755 (executable)
@@ -323,7 +323,7 @@ binary-arch: pkg-disorder pkg-disorder-server pkg-disorder-playrtp \
 binary-indep: 
 
 clean:
-       test -f Makefile && $(MAKE) distclean
+       if test -f Makefile; then $(MAKE) distclean; fi
        rm -f config.cache
        rm -f debian/files
        rm -f debian/substvars.*