Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nemu3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
nemu3
Commits
b5ef8214
Commit
b5ef8214
authored
Jun 22, 2010
by
Martín Ferrari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to workaround distutils brokenness
parent
1e51417b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
Makefile
Makefile
+14
-4
No files found.
Makefile
View file @
b5ef8214
SRC
=
src/
TEST
=
t/
BUILDDIR
=
build/lib/
DISTDIR
=
dist/
SRC
=
src
TEST
=
t
BUILDDIR
=
build
DISTDIR
=
dist
# stupid distutils, it's broken in so many ways
SUBBUILDDIR
=
$(
shell
python
-c
'import distutils.util, sys; print "lib.%s-%s" % (distutils.util.get_platform(
)
, sys.version[0:3]
)
'
)
PYTHON25
:=
$(
shell
python
-c
'import sys; v = sys.version_info; print (1 if v[0] <= 2 and v[1] <= 5 else 0
)
'
)
ifeq
($(PYTHON25),0)
BUILDDIR
:=
$(BUILDDIR)
/
$(SUBBUILDDIR)
else
BUILDDIR
:=
$(BUILDDIR)
/lib
endif
COVERAGE
=
$(
or
$(
shell
which coverage
)
,
$(
shell
which python-coverage
)
,
\
coverage
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment