Mercurial > octave-dspies
diff build-aux/common.mk @ 15100:8523df595d42
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.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 03 Aug 2012 16:45:17 -0700 |
parents | 1f914446157d |
children | 3735a0e783cb ca222e6932b7 |
line wrap: on
line diff
--- 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 $(<F) by Make.|" \ -e "s|%NO_OCT_FILE_STRIP%|${NO_OCT_FILE_STRIP}|" \ -e "s|%OCTAVE_BINDIR%|\"${bindir}\"|" \ -e "s|%OCTAVE_CONF_ALL_CFLAGS%|\"${ALL_CFLAGS}\"|" \ @@ -606,6 +607,7 @@ define do_subst_default_vals echo "making $@ from $<" $(SED) < $< > $@-t \ + -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $(<F) by Make.|" \ -e "s|%OCTAVE_ARCHLIBDIR%|\"${archlibdir}\"|" \ -e "s|%OCTAVE_BINDIR%|\"${bindir}\"|" \ -e "s|%OCTAVE_CANONICAL_HOST_TYPE%|\"${canonical_host_type}\"|" \