diff options
-rw-r--r-- | Makefile | 14 | ||||
-rw-r--r-- | configure.py | 7 |
2 files changed, 9 insertions, 12 deletions
@@ -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() |