summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-05-29 09:12:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-05-29 09:12:42 +0200
commitf69b920dbc9d9ca85f85d69c047d7fcef4188c37 (patch)
treea88171f77ff0aa86995abe21fddc8df3feb7bda4 /newplugin
parenta4c851f759cf51760223e63b3f06d29743d80031 (diff)
downloadvdr-f69b920dbc9d9ca85f85d69c047d7fcef4188c37.tar.gz
vdr-f69b920dbc9d9ca85f85d69c047d7fcef4188c37.tar.bz2
The Makefiles now use the macro $(Q) instead of a plain '@' in front of their commands, so that verbosity can be controlled by the user
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin12
1 files changed, 6 insertions, 6 deletions
diff --git a/newplugin b/newplugin
index 161ffdac..2e953938 100755
--- a/newplugin
+++ b/newplugin
@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: newplugin 4.2 2017/05/22 15:34:01 kls Exp $
+# $Id: newplugin 4.3 2017/05/29 08:55:21 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -122,7 +122,7 @@ all: \$(SOFILE) i18n
%.o: %.c
\@echo CC \$\@
- \@\$(CXX) \$(CXXFLAGS) -c \$(DEFINES) \$(INCLUDES) -o \$\@ \$<
+ \$(Q)\$(CXX) \$(CXXFLAGS) -c \$(DEFINES) \$(INCLUDES) -o \$\@ \$<
### Dependencies:
@@ -143,15 +143,15 @@ I18Npot = \$(PODIR)/\$(PLUGIN).pot
%.mo: %.po
\@echo MO \$\@
- \@msgfmt -c -o \$\@ \$<
+ \$(Q)msgfmt -c -o \$\@ \$<
\$(I18Npot): \$(wildcard *.c)
\@echo GT \$\@
- \@xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-\$(PLUGIN) --package-version=\$(VERSION) --msgid-bugs-address='<see README>' -o \$\@ `ls \$^`
+ \$(Q)xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-\$(PLUGIN) --package-version=\$(VERSION) --msgid-bugs-address='<see README>' -o \$\@ `ls \$^`
%.po: \$(I18Npot)
\@echo PO \$\@
- \@msgmerge -U --no-wrap --no-location --backup=none -q -N \$\@ \$<
+ \$(Q)msgmerge -U --no-wrap --no-location --backup=none -q -N \$\@ \$<
\@touch \$\@
\$(I18Nmsgs): \$(DESTDIR)\$(LOCDIR)/%/LC_MESSAGES/vdr-\$(PLUGIN).mo: \$(PODIR)/%.mo
@@ -166,7 +166,7 @@ install-i18n: \$(I18Nmsgs)
\$(SOFILE): \$(OBJS)
\@echo LD \$\@
- \@\$(CXX) \$(CXXFLAGS) \$(LDFLAGS) -shared \$(OBJS) -o \$\@
+ \$(Q)\$(CXX) \$(CXXFLAGS) \$(LDFLAGS) -shared \$(OBJS) -o \$\@
install-lib: \$(SOFILE)
install -D \$^ \$(DESTDIR)\$(LIBDIR)/\$^.\$(APIVERSION)