summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-06-09 15:23:47 -0400
committerGlenn Morris <rgm@gnu.org>2015-06-09 15:23:47 -0400
commit79344156956891ded1ab79c42e8b4bc467366b3b (patch)
tree2464fd9ad6954456ebba81f469b130ced2a9b813 /Makefile.in
parent76f2d766ad6691eae6ae4006264f59724cc73a23 (diff)
downloademacs-79344156956891ded1ab79c42e8b4bc467366b3b.tar.gz
* Makefile.in (SUBDIR_MAKEFILES):
* lwlib/Makefile.in (WARN_CFLAGS): Use built-in Make functions rather than echo+sed.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index d2948f84139..63e17c32937 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -290,7 +290,7 @@ SUBDIR = $(NTDIR) lib lib-src src lisp
# The subdir makefiles created by config.status.
SUBDIR_MAKEFILES_IN = @SUBDIR_MAKEFILES_IN@
-SUBDIR_MAKEFILES = `echo $(SUBDIR_MAKEFILES_IN:.in=) | sed 's|$(srcdir)/||g'`
+SUBDIR_MAKEFILES = $(patsubst ${srcdir}/%,%,${SUBDIR_MAKEFILES_IN:.in=})
# Subdirectories to install, and where they'll go. lib-src's and nt's
# makefiles know how to install them, so we don't do that here.