aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-07-09 16:58:22 +0000
committerRob Austein <sra@hactrn.net>2007-07-09 16:58:22 +0000
commit74c1fd9ee3c20072b6e4b5f0c680d5f451f90833 (patch)
tree0b289b53fa1c63974f06fa814c823e2b49f0d878
parentf2dbbfc567263b0b9d5cff7c746d9f4605346a90 (diff)
Don't build when nothing has changed.
svn path=/pow/Makefile; revision=736
-rw-r--r--pow/Makefile15
1 files changed, 14 insertions, 1 deletions
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