Hello Eric, Gary,

this fixes a distcheck failure in branch-1_4.  But maybe you're going to
rewrite GNUmakefile further anyway, in which case you may just want to
ignore this patch.  ;-)

Cheers,
Ralf

2008-03-08  Ralf Wildenhues  <[EMAIL PROTECTED]>

        * GNUmakefile: Generate .version in $(srcdir).

diff --git a/GNUmakefile b/GNUmakefile
index 1477e08..8e07778 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -62,11 +62,11 @@ ifeq (0,$(MAKELEVEL))
 endif
 
 ifneq ($(_curr-ver),$(VERSION))
-  _dummy := $(shell echo $(_curr-ver) > .version)
+  _dummy := $(shell echo $(_curr-ver) > $(srcdir)/.version)
 endif
 
 ifneq ($(_created_version_file),1)
-  _dummy := $(shell test -f .version || echo $(VERSION) > .version)
+  _dummy := $(shell test -f .version || echo $(VERSION) > $(srcdir)/.version)
 endif
 
 include $(srcdir)/Makefile.cfg


_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches

Reply via email to