Added a distclean target for release.
This commit is contained in:
parent
0c743e1248
commit
c39f725feb
15
Makefile
15
Makefile
|
@ -65,7 +65,7 @@ tag:
|
||||||
# Make a new release by calling all the distinct steps in the correct order.
|
# Make a new release by calling all the distinct steps in the correct order.
|
||||||
# Each step is a separate target so that it's easy to do this manually if
|
# Each step is a separate target so that it's easy to do this manually if
|
||||||
# anything screwed up.
|
# anything screwed up.
|
||||||
release: clean releasecheck
|
release: distclean releasecheck
|
||||||
$(MAKE) dist sign upload homepage tag register changelog deb
|
$(MAKE) dist sign upload homepage tag register changelog deb
|
||||||
|
|
||||||
register:
|
register:
|
||||||
|
@ -105,9 +105,16 @@ count:
|
||||||
@sloccount patool patoolib
|
@sloccount patool patoolib
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
find . -name \*.pyc -delete
|
-$(PYTHON) setup.py clean --all
|
||||||
find . -name \*.pyo -delete
|
find . -name '*.py[co]' -exec rm -f {} \;
|
||||||
rm -rf build dist
|
|
||||||
|
distclean: clean
|
||||||
|
rm -rf build dist $(APPNAME).egg-info
|
||||||
|
rm -f _$(APPNAME)_configdata.py MANIFEST
|
||||||
|
# clean aborted dist builds and output files
|
||||||
|
rm -f testresults.txt
|
||||||
|
rm -rf $(APPNAME)-$(VERSION)
|
||||||
|
rm -f *-stamp*
|
||||||
|
|
||||||
localbuild:
|
localbuild:
|
||||||
$(PYTHON) setup.py build
|
$(PYTHON) setup.py build
|
||||||
|
|
Loading…
Reference in New Issue