--- a/common/Make.proto Wed Dec 05 12:11:16 2012 +0000
+++ b/common/Make.proto Wed Dec 05 12:35:12 2012 +0000
@@ -96,7 +96,7 @@
# 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_libscm_common.$(OBJ): $(shell hg root)/.hg/dirstate
+stx_libscm_common.$(O): $(shell hg root)/.hg/dirstate
endif
--- a/mercurial/Make.proto Wed Dec 05 12:11:16 2012 +0000
+++ b/mercurial/Make.proto Wed Dec 05 12:35:12 2012 +0000
@@ -95,8 +95,10 @@
# 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 '**NOHG**'))
-stx_libscm_mercurial.$(OBJ): $(shell hg root)/.hg/dirstate
+ifneq (**NOHG**, $(shell hg root 2> /dev/null || echo -n '**NOHG**'))
+
+stx_libscm_mercurial.$(O): $(shell hg root)/.hg/dirstate
+
endif