rename Makefile -> build.mk to avoid spurious build attempts
rationale: proper build needs to go through setup.py anyhow by renaming Makefile to a less common name, we avoid people building by mistakes only the makefile-driven part. This also helps distribution heuristics when guessing how to auto-build packages (e.g. Debian dh_auto_build)
This commit is contained in:
parent
1161874362
commit
25b2c6df30
2 changed files with 6 additions and 1 deletions
7
setup.py
7
setup.py
|
|
@ -52,7 +52,12 @@ def build_qt():
|
|||
print >>sys.stderr, 'Install missing component(s) (see above) or disable Qt applications (with --no-qt).'
|
||||
sys.exit(1)
|
||||
|
||||
subprocess.check_call([make, '-s', '-j2', 'all', 'PYUIC=%s%s' % (pyuic4, ' WIN32=1' if sys.platform == 'win32' else '')])
|
||||
subprocess.check_call(
|
||||
[make,
|
||||
'-f', 'build.mk',
|
||||
'-s', '-j2',
|
||||
'all',
|
||||
'PYUIC=%s%s' % (pyuic4, ' WIN32=1' if sys.platform == 'win32' else '')])
|
||||
|
||||
|
||||
class Options(object):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue