-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from hartwork/makefile
Add convenience Makefile
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include README.rst | ||
include LICENSE | ||
include Makefile | ||
recursive-include tests * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright (C) 2013 Sebastian Pipping <sebastian@pipping.org> | ||
# Licensed under GPL v3 or later | ||
|
||
DESTDIR = / | ||
SETUP_PY = ./setup.py | ||
|
||
all: | ||
$(SETUP_PY) build | ||
|
||
check: | ||
$(SETUP_PY) check | ||
$(SETUP_PY) test | ||
|
||
clean: | ||
$(SETUP_PY) clean | ||
|
||
dist: | ||
$(SETUP_PY) sdist | ||
|
||
install: | ||
$(SETUP_PY) install --root '$(DESTDIR)' | ||
|
||
.PHONY: all check clean dist install |