diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-11-13 21:28:21 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-11-28 11:02:19 +1000 |
commit | e1b9dc6bea9585701637e0ed14f24cb5b20cf341 (patch) | |
tree | 815088fb92cc4cdf87673cdb9b9ee32d6575a348 | |
parent | 71f837e45ea56eb7457759fbb31164f62c10a112 (diff) | |
download | pacman-e1b9dc6bea9585701637e0ed14f24cb5b20cf341.tar.xz |
autotools: be more accurate in comments when generating processed scripts
Instead of assuming all scripts are .sh.in and leaving a comment to that
effect, just take the input file directly.
This depends on the first dependency for the target being the source of
the script.
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r-- | scripts/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index e8a3034e..d60f2cb8 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -181,7 +181,7 @@ edit = sed \ -e 's|@DUFLAGS[@]|$(DUFLAGS)|g' \ -e 's|@DUPATH[@]|$(DUPATH)|g' \ -e 's|@SCRIPTNAME[@]|$@|g' \ - -e 's|@configure_input[@]|Generated from $@.sh.in; do not edit by hand.|g' + -e 's|@configure_input[@]|Generated from $<; do not edit by hand.|g' ## All the scripts depend on Makefile so that they are rebuilt when the ## prefix etc. changes. Use chmod -w to prevent people from editing the |