[hackers] [wmii] Updated Makefile to make sure we get a new VERSION on upgrade

From: Kris Maglione <jg_AT_suckless.org>
Date: Mon Feb 19 23:08:48 2007

changeset: 1911:07be89ca7f8f
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Feb 19 17:04:38 2007 -0500
summary: Updated Makefile to make sure we get a new VERSION on upgrade

diff -r 873cf58c0f19 -r 07be89ca7f8f Makefile
--- a/Makefile Mon Feb 19 16:44:20 2007 -0500
+++ b/Makefile Mon Feb 19 17:04:38 2007 -0500
@@ -18,6 +18,14 @@ options:
 .c.o:
         @echo CC $<
         @${CC} -c ${CFLAGS} $<
+
+# In case this isn't from hg
+.hg/00changelog.i:
+ @mkdir .hg
+ @touch .hg/00changelog.i
+
+# VERSION must be updated on every commit/pull
+config.mk: .hg/00changelog.i
 
 ${OBJ}: wmii.h config.mk
 
Received on Mon Feb 19 2007 - 23:08:48 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:31 UTC