blob: fa26775c4b4057f3df9510dc20437875f0a3e12d [file] [log] [blame] [edit]
diff -aruN a/src/Makefile b/src/Makefile
--- a/src/Makefile 2005-08-22 17:19:54.000000000 -0700
+++ b/src/Makefile 2010-11-11 10:29:01.965965108 -0800
@@ -170,6 +170,11 @@
-echo `bk prs -hr+ -d'$$if(:SYMBOL:){:SYMBOL: }:UTC:' ../ChangeSet;` > bk.ver
touch bk.ver
+version.out: ../scripts/version
+ rm -f $@
+ -$< > $@
+ touch $@
+
dist: bk.ver
@if [ "X`cd ..; bk sfiles -c`" != "X" ]; then \
echo "modified files!"; \
@@ -228,9 +233,9 @@
install install-target dist get edit get-e clean clobber \
share depend testmake
-$O/lmbench : ../scripts/lmbench bk.ver
+$O/lmbench : ../scripts/lmbench version.out
rm -f $O/lmbench
- sed -e "s/<version>/`cat bk.ver`/g" < ../scripts/lmbench > $O/lmbench
+ sed -e "s/<version>/`cat version.out`/g" < ../scripts/lmbench > $O/lmbench
chmod +x $O/lmbench
$O/lmbench.a: $(LIBOBJS)