# HG changeset patch # User Rik # Date 1344037517 25200 # Node ID 8523df595d42d46603aabd1bdb7371e16c29bebe # Parent d7f8b0b91cb2033fab7625cc015b9e84d336d85a maint: Add DO NOT EDIT messages to build system for src/*.in.h. * build-aux/common.mk (do_subst_config_val, do_subst_default_val): Add new sed expansion rule for NO_EDIT_WARNING. * Makefile.am (version.h rule): Add new sed expansion rule for NO_EDIT_WARNING. * interp-core/module.mk (mxarray.h): Add new sed expansion rule for NO_EDIT_WARNING. * mxarray.in.h, defaults.in.h, oct-conf.in.h, version.in.h: Add %NO_EDIT_WARNING% to top-of-file for expansion by build system. diff -r d7f8b0b91cb2 -r 8523df595d42 build-aux/common.mk --- a/build-aux/common.mk Fri Aug 03 16:38:53 2012 -0700 +++ b/build-aux/common.mk Fri Aug 03 16:45:17 2012 -0700 @@ -454,6 +454,7 @@ define do_subst_config_vals echo "making $@ from $<" $(SED) < $< \ + -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $( $@-t \ + -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $( $@-t mv $@-t $@ diff -r d7f8b0b91cb2 -r 8523df595d42 src/interp-core/mxarray.in.h --- a/src/interp-core/mxarray.in.h Fri Aug 03 16:38:53 2012 -0700 +++ b/src/interp-core/mxarray.in.h Fri Aug 03 16:45:17 2012 -0700 @@ -1,4 +1,4 @@ -// DO NOT EDIT! Generated automatically from mxarray.in.h by configure +// %NO_EDIT_WARNING% /* Copyright (C) 2001-2012 Paul Kienzle diff -r d7f8b0b91cb2 -r 8523df595d42 src/interpfcn/defaults.in.h --- a/src/interpfcn/defaults.in.h Fri Aug 03 16:38:53 2012 -0700 +++ b/src/interpfcn/defaults.in.h Fri Aug 03 16:45:17 2012 -0700 @@ -1,4 +1,4 @@ -// DO NOT EDIT! Generated automatically from defaults.in.h by configure +// %NO_EDIT_WARNING% /* Copyright (C) 1993-2012 John W. Eaton diff -r d7f8b0b91cb2 -r 8523df595d42 src/oct-conf.in.h --- a/src/oct-conf.in.h Fri Aug 03 16:38:53 2012 -0700 +++ b/src/oct-conf.in.h Fri Aug 03 16:45:17 2012 -0700 @@ -1,4 +1,4 @@ -// DO NOT EDIT! Generated automatically from oct-conf.in.h by configure +// %NO_EDIT_WARNING% /* Copyright (C) 1996-2012 John W. Eaton diff -r d7f8b0b91cb2 -r 8523df595d42 src/version.in.h --- a/src/version.in.h Fri Aug 03 16:38:53 2012 -0700 +++ b/src/version.in.h Fri Aug 03 16:45:17 2012 -0700 @@ -1,4 +1,4 @@ -// DO NOT EDIT! Generated automatically from version.in.h by configure +// %NO_EDIT_WARNING% /* Copyright (C) 1992-2012 John W. Eaton