Fix: examples silent rules on Solaris
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mathieu Desnoyers
AppliedMerged, thanks!
Mathieu
Quoted 65 lines · ----- On Dec 12, 2018, at 3:30 PM, Michael Jeanson [email protected] wrote:
Signed-off-by Michael Jeanson <[email protected]>---
doc/examples/Makefile.examples.template | 6 ++++-- doc/examples/dist-files/Makefile | 2 +- doc/examples/hlist/Makefile | 2 +- doc/examples/wfcqueue/Makefile | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-)doc/examples/Makefile.examples.template +4
-2@@ -17,12 +17,14 @@ AM_V_P := : all: $(BINARY) $(BINARY): $(OBJECTS) - @if $(AM_V_P); then set -x; else echo " CCLD $@"; fi; \ + @verbose="$(AM_V_P)"; if [ "x$$verbose" = "x" ]; then verbose=":"; fi; \ + if $$verbose; then set -x; else echo " CCLD $@"; fi; \ $(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ $(OBJECTS) $(LIBS) $(OBJECTS): $(SOURCES) $(DEPS) - @if $(AM_V_P); then set -x; else echo " CC $@"; fi; \ + @verbose="$(AM_V_P)"; if [ "x$$verbose" = "x" ]; then verbose=":"; fi; \ + if $$verbose; then set -x; else echo " CC $@"; fi; \ $(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) \ -c -o $@ $(SOURCES)doc/examples/dist-files/Makefile +0
-1@@ -1,4 +1,4 @@ -# Copyright (C) 2013 Mathieu Desnoyers<mathieu.desnoyers$(AM_V_at)efficios.com>
+# Copyright (C) 2013 Mathieu Desnoyers <[email protected]> #
# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED # OR IMPLIED. ANY USE IS AT YOUR OWN RISK.doc/examples/hlist/Makefile +0
-1@@ -1,4 +1,4 @@ -# Copyright (C) 2013 Mathieu Desnoyers<mathieu.desnoyers$(AM_V_at)efficios.com>
+# Copyright (C) 2013 Mathieu Desnoyers <[email protected]> #
# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED # OR IMPLIED. ANY USE IS AT YOUR OWN RISK.doc/examples/wfcqueue/Makefile +0
-1@@ -1,4 +1,4 @@ -# Copyright (C) 2013 Mathieu Desnoyers<mathieu.desnoyers$(AM_V_at)efficios.com>
+# Copyright (C) 2013 Mathieu Desnoyers <[email protected]> #
# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED # OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
--
2.17.1
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com