changeset 21414:1562e7e27f6d

provide Make rule for recreating generated configuration shell scripts * Makefile.am: New pattern rule for $(GEN_CONFIG_SHELL) files.
author John W. Eaton <jwe@octave.org>
date Mon, 07 Mar 2016 20:01:37 -0500
parents 3fb2bdea47a5
children 74a676d5ce09
files Makefile.am
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Mon Mar 07 19:06:35 2016 -0500
+++ b/Makefile.am	Mon Mar 07 20:01:37 2016 -0500
@@ -75,6 +75,9 @@
   build-aux/subst-f77-isnan-macro.sh \
   build-aux/subst-script-vals.sh
 
+$(GEN_CONFIG_SHELL) : %.sh : %.in.sh config.status
+	$(AM_V_GEN)$(SHELL) config.status $@-tmp $@
+
 AUTOCONF_SUBST_VARS = @AUTOCONF_SUBST_VARS@
 ALL_SUBST_VARS = \
   $(AUTOCONF_SUBST_VARS) \