Make.proto
branchjv
changeset 991 e9f7c31b05c6
parent 953 ea3cbd7816c4
child 995 92bb466548a9
--- a/Make.proto	Fri Apr 24 00:26:52 2015 +0100
+++ b/Make.proto	Fri Apr 24 12:52:19 2015 +0100
@@ -1,4 +1,4 @@
-# $Header: /cvs/stx/stx/goodies/monticello/Make.proto,v 1.19 2014-12-23 19:18:03 cg Exp $
+# $Header$
 #
 # DO NOT EDIT
 # automagically generated from the projectDefinition: stx_goodies_monticello.
@@ -70,6 +70,13 @@
 
 
 
+# Enforce recompilation of package definition class if Mercurial working
+# copy state changes. Together with --guessVersion it ensures that package
+# definition class always contains correct binary revision string.
+ifneq (**NOHG**, $(shell hg root 2> /dev/null || echo -n '**NOHG**'))
+stx_goodies_monticello.$(O): $(shell hg root)/.hg/dirstate
+endif
+
 
 
 
@@ -102,7 +109,6 @@
 	cd ../../libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
 	cd ../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
 	cd ../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
-	cd ../sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
 	cd ../../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
 	cd ../../libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
 	cd ../../libcompat && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"