From aea3e8843641bdd9875f55772dea4c65008e8538 Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Sat, 15 Jan 2011 21:04:59 +0100 Subject: [PATCH] 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 --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index bcacd03..f66b79d 100644 --- a/Makefile +++ b/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 "*~"`