This actually allows for the command to be printed if using `make V=1`

Signed-off-by: Diego Elio Pettenò <[email protected]>
---
 include/Makefile.am |    3 +--
 src/Makefile.am     |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/include/Makefile.am b/include/Makefile.am
index 1eae2dd..dec8eac 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -100,5 +100,4 @@ noinst_HEADERS = osmocom/core/timer_compat.h
 
 osmocom/core/crc%gen.h: osmocom/core/crcXXgen.h.tpl
        $(AM_V_GEN)$(MKDIR_P) $(notdir $@)
-       @echo "  SED    $< -> $@"
-       @sed -e's/XX/$*/g' $< > $@
+       $(AM_V_GEN)sed -e's/XX/$*/g' $< > $@
diff --git a/src/Makefile.am b/src/Makefile.am
index b79c8b7..36f95ee 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -39,5 +39,4 @@ libosmocore_la_SOURCES += serial.c
 endif
 
 crc%gen.c: crcXXgen.c.tpl
-       @echo "  SED    $< -> $@"
-       @sed -e's/XX/$*/g' $< > $@
+       $(AM_V_GEN)sed -e's/XX/$*/g' $< > $@
-- 
1.7.8.6


Reply via email to