- '--sysconfdir=/etc --localstatedir=/var '+
- safeCall(*config.get('automakeParameters', []))
- ]
- r.rules['auto_clean'] = ['rm -f config.status'] # do not re-use old configuration (no need for escaping here, obviously)
-
-def pythonRules(r, config):
- r.dh += ["--buildsystem=python_distutils"]
- r.dhWith.add('python2')
- r.rules['auto_clean'] = [ # clean properly
- 'dh_auto_clean',
- 'rm -rf build'
+ safeCall('--docdir=/usr/share/doc/'+config['binaryName'], '--sysconfdir=/etc', '--localstatedir=/var', *config.get('automakeParameters', []))