diff options
| author | Glenn Morris | 2015-06-09 15:23:47 -0400 |
|---|---|---|
| committer | Glenn Morris | 2015-06-09 15:23:47 -0400 |
| commit | 79344156956891ded1ab79c42e8b4bc467366b3b (patch) | |
| tree | 2464fd9ad6954456ebba81f469b130ced2a9b813 | |
| parent | 76f2d766ad6691eae6ae4006264f59724cc73a23 (diff) | |
| download | emacs-79344156956891ded1ab79c42e8b4bc467366b3b.tar.gz emacs-79344156956891ded1ab79c42e8b4bc467366b3b.zip | |
* Makefile.in (SUBDIR_MAKEFILES):
* lwlib/Makefile.in (WARN_CFLAGS):
Use built-in Make functions rather than echo+sed.
| -rw-r--r-- | Makefile.in | 2 | ||||
| -rw-r--r-- | lwlib/Makefile.in | 3 |
2 files changed, 3 insertions, 2 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 | |||
| 290 | 290 | ||
| 291 | # The subdir makefiles created by config.status. | 291 | # The subdir makefiles created by config.status. |
| 292 | SUBDIR_MAKEFILES_IN = @SUBDIR_MAKEFILES_IN@ | 292 | SUBDIR_MAKEFILES_IN = @SUBDIR_MAKEFILES_IN@ |
| 293 | SUBDIR_MAKEFILES = `echo $(SUBDIR_MAKEFILES_IN:.in=) | sed 's|$(srcdir)/||g'` | 293 | SUBDIR_MAKEFILES = $(patsubst ${srcdir}/%,%,${SUBDIR_MAKEFILES_IN:.in=}) |
| 294 | 294 | ||
| 295 | # Subdirectories to install, and where they'll go. lib-src's and nt's | 295 | # Subdirectories to install, and where they'll go. lib-src's and nt's |
| 296 | # makefiles know how to install them, so we don't do that here. | 296 | # makefiles know how to install them, so we don't do that here. |
diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in index cbc747cbbac..bfeef16571a 100644 --- a/lwlib/Makefile.in +++ b/lwlib/Makefile.in | |||
| @@ -31,7 +31,8 @@ C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | |||
| 31 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ | 31 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ |
| 32 | C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ | 32 | C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ |
| 33 | PROFILING_CFLAGS = @PROFILING_CFLAGS@ | 33 | PROFILING_CFLAGS = @PROFILING_CFLAGS@ |
| 34 | WARN_CFLAGS = `echo @WARN_CFLAGS@ | sed 's/ -Wwrite-strings//'` | 34 | WARN_CFLAGS = @WARN_CFLAGS@ |
| 35 | WARN_CFLAGS := $(filter-out -Wwrite-strings,${WARN_CFLAGS}) | ||
| 35 | WERROR_CFLAGS = @WERROR_CFLAGS@ | 36 | WERROR_CFLAGS = @WERROR_CFLAGS@ |
| 36 | CAIRO_CFLAGS= @CAIRO_CFLAGS@ | 37 | CAIRO_CFLAGS= @CAIRO_CFLAGS@ |
| 37 | 38 | ||