summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-06-14 17:34:22 -0700
committerGlenn Morris <rgm@gnu.org>2014-06-14 17:34:22 -0700
commit0d9f81376b7ef14ec7a61077a059cfa2420c5666 (patch)
treee831d8882b1e5ee5a56b3ddadb5daca054b0ea31 /lwlib
parent0e6929ecab39164b384c76884a7eac559a1fe9b9 (diff)
Use `make -C' rather than `cd && make'
* Makefile.in: Use `make -C' rather than `cd && make' throughout. * lib-src/Makefile.in (../lib/libgnu.a): Use `make -C' rather than `cd && make'. * lisp/Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'. * lwlib/Makefile.in ($(globals_h)): Use `make -C' rather than `cd && make'. * src/Makefile.in: Use `make -C' rather than `cd && make' throughout.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/ChangeLog2
-rw-r--r--lwlib/Makefile.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog
index 6af0b41974..9f49039629 100644
--- a/lwlib/ChangeLog
+++ b/lwlib/ChangeLog
@@ -1,5 +1,7 @@
2014-06-15 Glenn Morris <rgm@gnu.org>
+ * Makefile.in ($(globals_h)): Use `make -C' rather than `cd && make'.
+
* Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
Declare as PHONY.
(bootstrap-clean): New.
diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in
index f8f6fe2c9d..7185aa6072 100644
--- a/lwlib/Makefile.in
+++ b/lwlib/Makefile.in
@@ -80,7 +80,7 @@ globals_h = ../src/globals.h
src_h = $(config_h) $(lisp_h) $(globals_h)
$(globals_h):
- cd ../src && $(MAKE) globals.h
+ $(MAKE) -C ../src globals.h
lwlib-utils.o: $(src_h) lwlib-utils.c lwlib-utils.h lwlib.h
lwlib.o: $(src_h) lwlib.c lwlib.h lwlib-int.h lwlib-utils.h \