aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2021-12-20 12:14:07 -0800
committerPaul Eggert2021-12-20 12:24:04 -0800
commiteaa44ca40e8da9ba86e6e03b76b41fd6843661d6 (patch)
treeec1e6d72037e1ff3d17cc36df3e34970b9306273 /lib-src
parenta34650acff3740980ef23d900d35004bcfe2ef04 (diff)
downloademacs-eaa44ca40e8da9ba86e6e03b76b41fd6843661d6.tar.gz
emacs-eaa44ca40e8da9ba86e6e03b76b41fd6843661d6.zip
Prefer $(info) to @echo
Have GNU Make output some diagnostics directly, instead of forking and execing a shell to do it. * GNUmakefile (help): * doc/lispref/two-volume.make (vol2.pdf, elisp2med-init) (elisp2-init): * doc/misc/Makefile.in (echo-info, echo-sources): * lib-src/Makefile.in (archlibdir, install, check): * src/verbose.mk.in (AM_V_AR, AM_V_CC, AM_V_CXX, AM_V_CCLD) (AM_V_CXXLD, AM_V_ELC, AM_V_ELN, AM_V_GEN, AM_V_GLOBALS) (AM_V_RC): * test/Makefile.in (subdirs, subdir-targets): Prefer $(info) to @echo. * GNUmakefile (MAKECMDGOALS, configure, Makefile): Prefer $(warning) to @echo >&2. * src/verbose.mk.in (AM_V_ELN): Output target, like the others.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index c07b678839c..835b6016541 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -297,8 +297,8 @@ maybe-blessmail: $(BLESSMAIL_TARGET)
297## up if chown or chgrp fails, as the package responsible for 297## up if chown or chgrp fails, as the package responsible for
298## installing Emacs can fix this problem later. 298## installing Emacs can fix this problem later.
299$(DESTDIR)${archlibdir}: all 299$(DESTDIR)${archlibdir}: all
300 @echo 300 $(info $ )
301 @echo "Installing utilities run internally by Emacs." 301 $(info Installing utilities run internally by Emacs.)
302 umask 022 && ${MKDIR_P} "$(DESTDIR)${archlibdir}" 302 umask 022 && ${MKDIR_P} "$(DESTDIR)${archlibdir}"
303 exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && /bin/pwd` && \ 303 exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && /bin/pwd` && \
304 if [ "$$exp_archlibdir" != "`/bin/pwd`" ]; then \ 304 if [ "$$exp_archlibdir" != "`/bin/pwd`" ]; then \
@@ -339,8 +339,8 @@ $(DESTDIR)${archlibdir}: all
339.PHONY: bootstrap-clean check tags 339.PHONY: bootstrap-clean check tags
340 340
341install: $(DESTDIR)${archlibdir} 341install: $(DESTDIR)${archlibdir}
342 @echo 342 $(info $ )
343 @echo "Installing utilities for users to run." 343 $(info Installing utilities for users to run.)
344 umask 022 && ${MKDIR_P} "$(DESTDIR)${bindir}" 344 umask 022 && ${MKDIR_P} "$(DESTDIR)${bindir}"
345 for file in ${INSTALLABLES} ; do \ 345 for file in ${INSTALLABLES} ; do \
346 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} \ 346 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} \
@@ -375,7 +375,7 @@ bootstrap-clean maintainer-clean: distclean
375 375
376## Test the contents of the directory. 376## Test the contents of the directory.
377check: 377check:
378 @echo "We don't have any tests for the lib-src/ directory yet." 378 $(info We don't have any tests for the lib-src/ directory yet.)
379 379
380tagsfiles = $(wildcard ${srcdir}/*.[ch]) 380tagsfiles = $(wildcard ${srcdir}/*.[ch])
381 381