From 25b2c6df30fbbc3d95de112d40d179983f4d02f0 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Sat, 20 Apr 2013 22:46:31 +0200 Subject: [PATCH] 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) --- Makefile => build.mk | 0 setup.py | 7 ++++++- 2 files changed, 6 insertions(+), 1 deletion(-) rename Makefile => build.mk (100%) diff --git a/Makefile b/build.mk similarity index 100% rename from Makefile rename to build.mk diff --git a/setup.py b/setup.py index c62a83598c..647bb461b3 100755 --- a/setup.py +++ b/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): -- GitLab