[PATCH libXaw 2/2] Makefile: use AM_V_GEN and AM_V_at to implement automake silent rules
Gaetan Nadon
memsize at videotron.ca
Sun Sep 22 13:06:00 PDT 2013
Passing --enable-silent-rules to configure will cause build rules to be less
verbose; the option --disable-silent-rules will cause normal verbose output.
At make run time, the default chosen at configure time may be overridden:
make V=1 will produce verbose output, make V=0 less verbose output.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
src/Makefile.am | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 49b3ddb..cf73662 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -83,18 +83,18 @@ libXaw6_la_LIBADD = $(XAW6_LIBS)
if !PLATFORM_WIN32
install-exec-hook::
if PLATFORM_DARWIN
- -rm -f $(DESTDIR)$(libdir)/libXaw.6. at LIBEXT@
- (cd $(DESTDIR)$(libdir) && $(LN_S) libXaw6.6. at LIBEXT@ libXaw.6. at LIBEXT@)
+ $(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXaw.6. at LIBEXT@
+ $(AM_V_GEN)(cd $(DESTDIR)$(libdir) && $(LN_S) libXaw6.6. at LIBEXT@ libXaw.6. at LIBEXT@)
else
- -rm -f $(DESTDIR)$(libdir)/libXaw. at LIBEXT@.6
- (cd $(DESTDIR)$(libdir) && $(LN_S) libXaw6. at LIBEXT@.6 libXaw. at LIBEXT@.6)
+ $(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXaw. at LIBEXT@.6
+ $(AM_V_GEN)(cd $(DESTDIR)$(libdir) && $(LN_S) libXaw6. at LIBEXT@.6 libXaw. at LIBEXT@.6)
endif
uninstall-local::
if PLATFORM_DARWIN
- -rm -f $(DESTDIR)$(libdir)/libXaw.6. at LIBEXT@
+ $(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXaw.6. at LIBEXT@
else
- -rm -f $(DESTDIR)$(libdir)/libXaw. at LIBEXT@.6
+ $(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXaw. at LIBEXT@.6
endif
endif
@@ -122,18 +122,18 @@ libXaw7_la_LIBADD = $(XAW7_LIBS)
if !PLATFORM_WIN32
install-exec-hook::
if PLATFORM_DARWIN
- -rm -f $(DESTDIR)$(libdir)/libXaw.7. at LIBEXT@
- (cd $(DESTDIR)$(libdir) $(LN_S) libXaw7.7. at LIBEXT@ libXaw.7. at LIBEXT@)
+ $(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXaw.7. at LIBEXT@
+ $(AM_V_GEN)(cd $(DESTDIR)$(libdir) $(LN_S) libXaw7.7. at LIBEXT@ libXaw.7. at LIBEXT@)
else
- -rm -f $(DESTDIR)$(libdir)/libXaw. at LIBEXT@.7
- (cd $(DESTDIR)$(libdir) $(LN_S) libXaw7. at LIBEXT@.7 libXaw. at LIBEXT@.7)
+ $(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXaw. at LIBEXT@.7
+ $(AM_V_GEN)(cd $(DESTDIR)$(libdir) $(LN_S) libXaw7. at LIBEXT@.7 libXaw. at LIBEXT@.7)
endif
uninstall-local::
if PLATFORM_DARWIN
- -rm -f $(DESTDIR)$(libdir)/libXaw.7. at LIBEXT@
+ $(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXaw.7. at LIBEXT@
else
- -rm -f $(DESTDIR)$(libdir)/libXaw. at LIBEXT@.7
+ $(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXaw. at LIBEXT@.7
endif
endif
--
1.7.9.5
More information about the xorg-devel
mailing list