]> code.delx.au - gnu-emacs/blobdiff - Makefile.in
* Makefile.in (SUBDIR_MAKEFILES):
[gnu-emacs] / Makefile.in
index d2948f84139cb8623c58c102c8e1a9aa80dfcce7..63e17c329370dc3b5da72131f3bce7e041496a14 100644 (file)
@@ -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.