--- a/Make.proto Wed May 13 06:32:03 2015 +0100
+++ b/Make.proto Wed May 13 06:22:44 2015 +0100
@@ -1,4 +1,4 @@
-# $Header: /cvs/stx/stx/libbasic2/Make.proto,v 1.217 2015-02-21 10:04:30 vrany Exp $
+# $Header$
#
# DO NOT EDIT
# automagically generated from the projectDefinition: stx_libbasic2.
@@ -76,6 +76,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_libbasic2.$(O): $(shell hg root)/.hg/dirstate
+endif
+