summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2018-10-16 18:42:17 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-12-14 13:48:02 +0800
commitef2ab7b23bd744a327dd5cf8f604adb64aa84556 (patch)
tree528d2e9960b1f1a53e0c500cabbc7dde32342cdb /src
parentshell: Update configure.ac with suggestions from autoupdate (diff)
downloaddash-ef2ab7b23bd744a327dd5cf8f604adb64aa84556.tar.gz
dash-ef2ab7b23bd744a327dd5cf8f604adb64aa84556.zip
shell: Enable automake silent rules
Enable automake silent rules to make it easier to spot compilation
problems.

Silent rules will be enabled by default, but only if they are available,
in order to keep compatibility with older autotools versions.

Prepend the silent strings also to custom rules.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8b9eb8c..1732465 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,27 +44,27 @@ EXTRA_DIST = \
 	mknodes.c nodetypes nodes.c.pat mksyntax.c mksignames.c
 
 token.h token_vars.h: mktokens
-	$(SHELL) $^
+	$(AM_V_GEN)$(SHELL) $^
 
 builtins.def: builtins.def.in $(top_builddir)/config.h
-	$(COMPILE) -E -x c -o $@ $<
+	$(AM_V_CC)$(COMPILE) -E -x c -o $@ $<
 
 builtins.c builtins.h: mkbuiltins builtins.def
-	$(SHELL) $^
+	$(AM_V_GEN)$(SHELL) $^
 
 init.c: mkinit $(dash_CFILES)
-	./$^
+	$(AM_V_GEN)./$^
 
 nodes.c nodes.h: mknodes nodetypes nodes.c.pat
-	./$^
+	$(AM_V_GEN)./$^
 
 syntax.c syntax.h: mksyntax
-	./$^
+	$(AM_V_GEN)./$^
 
 signames.c: mksignames
-	./$^
+	$(AM_V_GEN)./$^
 
 mksyntax: token.h
 
 $(HELPERS): %: %.c
-	$(COMPILE_FOR_BUILD) -o $@ $<
+	$(AM_V_CC)$(COMPILE_FOR_BUILD) -o $@ $<