summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-17 00:33:53 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-17 00:33:59 +0200
commitfd9cff02796d7034783169015c592ed294ef106f (patch)
tree0676a067a2b098977b6ee11f017b5a2be64958df
parentb33cdf726c2fe81ac43b89af795b52224f8c38ae (diff)
downloademacs-fd9cff02796d7034783169015c592ed294ef106f.tar.gz
Fix up the --no-print-directory changes in src/Makefile.in
* src/Makefile.in (AM_V_NO_PD): New macro written by Andreas Schwab that can be either --no-print-directory or "". (%.elc): Use it instead if the if statement.
-rw-r--r--src/Makefile.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index b425643c04b..0e3efb359b8 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -360,6 +360,11 @@ am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
+AM_V_NO_PD = $(am__v_NO_PD_@AM_V@)
+am__v_NO_PD_ = $(am__v_NO_PD_@AM_DEFAULT_V@)
+am__v_NO_PD_0 = --no-print-directory
+am__v_NO_PD_1 =
+
bootstrap_exe = ../src/bootstrap-emacs$(EXEEXT)
ifeq ($(DUMPING),pdumper)
bootstrap_pdmp := bootstrap-emacs.pdmp # Keep in sync with loadup.el
@@ -776,12 +781,8 @@ tags: TAGS ../lisp/TAGS $(lwlibdir)/TAGS
## bootstrap-emacs$(EXEEXT) as an order-only prerequisite.
%.elc: %.el | bootstrap-emacs$(EXEEXT) $(bootstrap_pdmp)
-ifeq (@AM_V@,1)
- @$(MAKE) -C ../lisp EMACS="$(bootstrap_exe)" THEFILE=$< $<c
-else
- @$(MAKE) --no-print-directory\
- -C ../lisp EMACS="$(bootstrap_exe)" THEFILE=$< $<c
-endif
+ @$(MAKE) $(AM_V_NO_PD) -C ../lisp EMACS="$(bootstrap_exe)"\
+ THEFILE=$< $<c
## VCSWITNESS points to the file that holds info about the current checkout.
## We use it as a heuristic to decide when to rebuild loaddefs.el.