Fix building with no build system
[auto-debuild.git] / auto_debuild.py
index d3a6527da1dd9427bc3f22c8ac56a8c6db34a506..384410284ff97d0bad03b32d425a93e0a9920584 100755 (executable)
@@ -157,8 +157,7 @@ def pythonRules(r, config):
 def makefileRules(r, config):
        r.dh += ["--buildsystem=makefile"]
 
-def noneRules(config):
-       r = RulesFile()
+def noneRules(r, config):
        r.dh += ["--buildsystem=makefile"] # makefile does the least possible harm
        r.rules['auto_configure'] = []
        r.rules['auto_build'] = []