Add dummy ('none') build system for packages only containing a bunch of static files
authorRalf Jung <post@ralfj.de>
Fri, 12 Oct 2012 18:26:54 +0000 (20:26 +0200)
committerRalf Jung <post@ralfj.de>
Fri, 12 Oct 2012 18:26:54 +0000 (20:26 +0200)
auto_debuild.py

index 7523e537117c824dde3d33fb0f944c35baa92f2f..11845ded1ace00745ea5002e7b5ad404c02e13c4 100755 (executable)
@@ -144,11 +144,18 @@ def pythonRules(config):
        ]
        return r
 
+def noneRules(config):
+       r = RulesFile()
+       r.dh += ["--buildsystem=makefile"] # makefile does the last possible harm
+       r.rules['auto_build'] = []
+       return r
+
 # build systems
 buildSystems = {
        'cmake': BuildSystem(cmakeRules, ["cmake"]),
        'automake': BuildSystem(automakeRules),
        'python': BuildSystem(pythonRules, ["python-setuptools"], ["${python:Depends}"]),
+       'none': BuildSystem(noneRules),
 }
 
 # utility functions