split clean-dist into its own section
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
ca275133d3
commit
9eb7503713
1 changed files with 7 additions and 5 deletions
12
build
12
build
|
@ -95,9 +95,8 @@ case "$1" in
|
||||||
pypi)
|
pypi)
|
||||||
#$0 very-clean
|
#$0 very-clean
|
||||||
#$0 man
|
#$0 man
|
||||||
$0 version-dist
|
$0 version
|
||||||
$0 sdist
|
$0 sdist
|
||||||
$0 version-dynamic
|
|
||||||
;;
|
;;
|
||||||
sdist)
|
sdist)
|
||||||
python3 setup.py sdist
|
python3 setup.py sdist
|
||||||
|
@ -150,8 +149,6 @@ case "$1" in
|
||||||
|
|
||||||
clean)
|
clean)
|
||||||
rm -f ${MAN7DSTDIR}/cdist-reference.text
|
rm -f ${MAN7DSTDIR}/cdist-reference.text
|
||||||
rm -f cdist/version.py
|
|
||||||
rm -f MANIFEST
|
|
||||||
|
|
||||||
find "${MANDIR}" -mindepth 2 -type l \
|
find "${MANDIR}" -mindepth 2 -type l \
|
||||||
-o -name "*.1" \
|
-o -name "*.1" \
|
||||||
|
@ -162,9 +159,14 @@ case "$1" in
|
||||||
|
|
||||||
find * -name __pycache__ | xargs rm -rf
|
find * -name __pycache__ | xargs rm -rf
|
||||||
;;
|
;;
|
||||||
|
clean-dist)
|
||||||
|
rm -f cdist/version.py MANIFEST
|
||||||
|
rm -rf cache/ dist/
|
||||||
|
;;
|
||||||
|
|
||||||
very-clean)
|
very-clean)
|
||||||
$0 clean
|
$0 clean
|
||||||
rm -rf cache/
|
$0 clean-dist
|
||||||
;;
|
;;
|
||||||
|
|
||||||
test)
|
test)
|
||||||
|
|
Loading…
Reference in a new issue