don't fail to clean if Makefile not present
[fw/altos] / debian / rules
index 785d9d5b469e62285f0cafb70c534d6833d7fc75..b81278a156de9ca1c288feb5caf604580d831496 100755 (executable)
@@ -20,7 +20,7 @@ clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp
-       $(MAKE) distclean
+       [ ! -f Makefile ] || $(MAKE) distclean
        dh_clean 
 
 install: build