From 9eb7503713820a28aee7532b968123c19b875ba9 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 26 Oct 2012 07:37:18 +0200 Subject: [PATCH] split clean-dist into its own section Signed-off-by: Nico Schottelius --- build | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/build b/build index 8e30c8d4..d7426feb 100755 --- a/build +++ b/build @@ -95,9 +95,8 @@ case "$1" in pypi) #$0 very-clean #$0 man - $0 version-dist + $0 version $0 sdist - $0 version-dynamic ;; sdist) python3 setup.py sdist @@ -150,8 +149,6 @@ case "$1" in clean) rm -f ${MAN7DSTDIR}/cdist-reference.text - rm -f cdist/version.py - rm -f MANIFEST find "${MANDIR}" -mindepth 2 -type l \ -o -name "*.1" \ @@ -162,9 +159,14 @@ case "$1" in find * -name __pycache__ | xargs rm -rf ;; + clean-dist) + rm -f cdist/version.py MANIFEST + rm -rf cache/ dist/ + ;; + very-clean) $0 clean - rm -rf cache/ + $0 clean-dist ;; test)