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:
Nicolas Sebrecht 2011-01-15 21:04:59 +01:00
parent 6eb56364e7
commit aea3e88436

View File

@ -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 "*~"`