Skip to content

Commit c51bba0

Browse files
committed
Add extra setuptools commands as GNU Makefile targets
1 parent 7e2e55b commit c51bba0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Makefile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ include ./build/main.mk
88

99
setup: ## Run python setup.py sdist
1010
python setup.py sdist
11+
sdist: setup
12+
13+
bdist: ## Run python setup.py bdist
14+
python setup.py bdist
15+
16+
bdist_rpm: ## Run python setup.py bdist_rpm
17+
python setup.py bdist_rpm
18+
19+
bdist_wininst: ## Run python setup.py bdist_wininst
20+
python setup.py bdist_wininst
1121

1222
install: ## Runs python setup.py install
1323
python setup.py install
@@ -17,7 +27,8 @@ test: ## Runs tests
1727

1828
.PHONY: clean
1929
clean:: ## Removes all temporary files - Executes make clean
20-
rm -rf ./dist
30+
rm -rf ./build/lib ./build/scripts-* ./build/bdist.*
31+
rm -rf ./dist ./vncpasswd.py.egg-info/
2132
rm -f MANIFEST
2233
rm -f README.rst README.txt
2334
find ./ -iname '*.pyc' -exec rm -f '{}' \;

0 commit comments

Comments
 (0)