Fix building with no build system
authorRalf Jung <post@ralfj.de>
Sat, 19 Jan 2013 17:23:22 +0000 (18:23 +0100)
committerRalf Jung <post@ralfj.de>
Sat, 19 Jan 2013 17:23:22 +0000 (18:23 +0100)
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 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'] = []
        r.dh += ["--buildsystem=makefile"] # makefile does the least possible harm
        r.rules['auto_configure'] = []
        r.rules['auto_build'] = []