From 74c1fd9ee3c20072b6e4b5f0c680d5f451f90833 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 9 Jul 2007 16:58:22 +0000 Subject: Don't build when nothing has changed. svn path=/pow/Makefile; revision=736 --- pow/Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pow/Makefile b/pow/Makefile index 47c9b4c2..2cbf422d 100644 --- a/pow/Makefile +++ b/pow/Makefile @@ -1,9 +1,22 @@ # $Id$ VERSION = 0.7 +STAMP = POW-${VERSION}/build/.timestamp -all: +SOURCES = POW-${VERSION}/lib/__init__.py \ + POW-${VERSION}/lib/_der.py \ + POW-${VERSION}/lib/_simpledb.py \ + POW-${VERSION}/lib/pkix.py \ + POW-${VERSION}/setup.py \ + POW-${VERSION}/cfgparse.py \ + POW-${VERSION}/dumpasn1.cfg \ + POW-${VERSION}/POW.c + +all: ${STAMP} + +${STAMP}: ${SOURCES} cd POW-${VERSION}; python setup.py build + touch $@ clean: rm -rf POW-${VERSION}/build -- cgit v1.2.3