summaryrefslogtreecommitdiff
path: root/m4/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'm4/Makefile.am')
-rw-r--r--m4/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/Makefile.am b/m4/Makefile.am
index 48edb2db8..263b52caf 100644
--- a/m4/Makefile.am
+++ b/m4/Makefile.am
@@ -67,5 +67,7 @@ EXTRA_DIST = dirlist amversion.in
$(top_srcdir)/m4/amversion.m4: $(srcdir)/amversion.in
sed -e 's,[@]VERSION[@],$(VERSION),g' \
-e 's,[@]APIVERSION[@],$(APIVERSION),g' \
+ -e "s,[@]configure_input[@],Generated from amversion.in; do not edit by hand.,g" \
$(srcdir)/amversion.in > $@t
+ chmod -w $@t
mv -f $@t $@