summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-12-16 14:45:16 +0000
committerng0 <ng0@n0.is>2019-12-16 14:45:16 +0000
commitc3a74e694cd57179460294244f060dd6892d806d (patch)
treeddc1c7eab526d46d68675f93cbe829704570ca96
parentf66c7b623572b7b6642de330742dbabc0d83aa53 (diff)
downloadtaler-util-c3a74e694cd57179460294244f060dd6892d806d.tar.gz
taler-util-c3a74e694cd57179460294244f060dd6892d806d.tar.bz2
taler-util-c3a74e694cd57179460294244f060dd6892d806d.zip
clean up configure.py configuration0.6.1
-rw-r--r--Makefile14
-rw-r--r--configure.py7
2 files changed, 9 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 48ee800..1768be0 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,11 @@ include config.mk
.SILENT: all
all: dist
- echo "This is a python project, no compilation at this step required."
- echo "Run make install to install global."
- echo "Run make install-user to install for the current user."
- echo ""
- echo "If you want to update your installation, use make update."
+ $(echo) "This is a python project, no compilation at this step required."
+ $(echo) "Run make install to install global."
+ $(echo) "Run make install-user to install for the current user."
+ $(echo) ""
+ $(echo) "If you want to update your installation, use make update."
# you need SOURCE_DATE_EPOCH at least at the 1980s when
# your default SOURCE_DATE_EPOCH in env is 1.
@@ -36,7 +36,7 @@ check:
$(tox) || echo "error: you have to install tox"
pretty:
- find . -type f -name '*.py' -or -name '*.py.in' -print0 | xargs -0 $(yapf) -i 2>&1 || true
+ $(find) . -type f -name '*.py' -or -name '*.py.in' -print0 | $(xargs) -0 $(yapf) -i 2>&1 || true
clean:
- rm -rf __pycache__ *~
+ $(rm) -rf __pycache__ *~
diff --git a/configure.py b/configure.py
index 354456c..650bbcf 100644
--- a/configure.py
+++ b/configure.py
@@ -36,14 +36,11 @@ b.enable_configmk()
b.add_tool(PythonTool())
b.add_tool(PyToxTool())
b.add_tool(YapfTool())
-b.add_tool(PosixTool("cp"))
b.add_tool(PosixTool("echo"))
b.add_tool(PosixTool("env"))
-b.add_tool(PosixTool("printf"))
-b.add_tool(PosixTool("grep"))
-b.add_tool(PosixTool("ln"))
-b.add_tool(PosixTool("mkdir"))
+b.add_tool(PosixTool("find"))
b.add_tool(PosixTool("rm"))
b.add_tool(PosixTool("sh"))
b.add_tool(PosixTool("git"))
+b.add_tool(PosixTool("xargs"))
b.run()