Browse Source

WIP: Makefile: Better distclean target

pull/1/head
Michaël Costa 7 months ago
parent
commit
521ccc87b7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile View File

@ -2,7 +2,7 @@ BUILD_PATH=./build
DIST_PATH=./dist
EGG_INFO_PATH=./ants.egg-info
SETUPCFG=./setup.cfg
VERSION=$(shell grep version ${SETUPCFG} | awk '{print $$3}')
PYCACHE_DIRS=$(shell find ./ -type d -name "*__pycache__")
.RECIPEPREFIX +=
.PHONY: distclean install uninstall update dist
@ -12,7 +12,7 @@ distclean:
sudo rm -Rf ${BUILD_PATH}
sudo rm -Rf ${DIST_PATH}
sudo rm -Rf ${EGG_INFO_PATH}
for DIR in $(find ./ -type d -name "__pycache__"); do rm -Rvf "${DIR}"; done
if [ ! -z "${PYCACHE_DIRS}" ]; then rm -Rvf ${PYCACHE_DIRS}; fi
dist:
echo -e "\033[93m[+] Make binary module\033[0m"


Loading…
Cancel
Save