Makefile: learn to build the package and make it the default
It's a bit surprising to start the clean process when typing "make". Create a build process and make it the default. This will also help not deleting something VERY important. Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
6eb56364e7
commit
aea3e88436
8
Makefile
8
Makefile
@ -19,6 +19,14 @@ VERSION=4.0.16
|
||||
TARGZ=offlineimap_$(VERSION).tar.gz
|
||||
SHELL=/bin/bash
|
||||
|
||||
all: build
|
||||
|
||||
build:
|
||||
python setup.py build
|
||||
@echo
|
||||
@echo "Build process finished, run 'python setup.py install' to install" \
|
||||
"or 'python setup.py --help' for more information".
|
||||
|
||||
clean:
|
||||
-python setup.py clean --all
|
||||
-rm -f `find . -name "*~"`
|
||||
|
Loading…
Reference in New Issue
Block a user