diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-05-22 16:29:49 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-05-22 16:29:49 +0200 |
commit | e7cd3f0b33d991d10c540c4fd9d6bca66938784c (patch) | |
tree | ca0ca7791daf6815e09ff58378f4d039daaa4b97 /newplugin | |
parent | 354910faab19e9d32dd3f1a7492ba9f685923ba8 (diff) | |
download | vdr-e7cd3f0b33d991d10c540c4fd9d6bca66938784c.tar.gz vdr-e7cd3f0b33d991d10c540c4fd9d6bca66938784c.tar.bz2 |
No longer displaying the actual (lengthy) commands during the build process
Diffstat (limited to 'newplugin')
-rwxr-xr-x | newplugin | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -12,7 +12,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: newplugin 4.1 2015/09/10 11:11:14 kls Exp $ +# $Id: newplugin 4.2 2017/05/22 15:34:01 kls Exp $ $PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n"; @@ -121,7 +121,8 @@ all: \$(SOFILE) i18n ### Implicit rules: %.o: %.c - \$(CXX) \$(CXXFLAGS) -c \$(DEFINES) \$(INCLUDES) -o \$\@ \$< + \@echo CC \$\@ + \@\$(CXX) \$(CXXFLAGS) -c \$(DEFINES) \$(INCLUDES) -o \$\@ \$< ### Dependencies: @@ -141,13 +142,16 @@ I18Nmsgs = \$(addprefix \$(DESTDIR)\$(LOCDIR)/, \$(addsuffix /LC_MESSAGES/vdr-\ I18Npot = \$(PODIR)/\$(PLUGIN).pot %.mo: %.po - msgfmt -c -o \$\@ \$< + \@echo MO \$\@ + \@msgfmt -c -o \$\@ \$< \$(I18Npot): \$(wildcard *.c) - xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-\$(PLUGIN) --package-version=\$(VERSION) --msgid-bugs-address='<see README>' -o \$\@ `ls \$^` + \@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 \$^` %.po: \$(I18Npot) - msgmerge -U --no-wrap --no-location --backup=none -q -N \$\@ \$< + \@echo PO \$\@ + \@msgmerge -U --no-wrap --no-location --backup=none -q -N \$\@ \$< \@touch \$\@ \$(I18Nmsgs): \$(DESTDIR)\$(LOCDIR)/%/LC_MESSAGES/vdr-\$(PLUGIN).mo: \$(PODIR)/%.mo @@ -161,7 +165,8 @@ install-i18n: \$(I18Nmsgs) ### Targets: \$(SOFILE): \$(OBJS) - \$(CXX) \$(CXXFLAGS) \$(LDFLAGS) -shared \$(OBJS) -o \$\@ + \@echo LD \$\@ + \@\$(CXX) \$(CXXFLAGS) \$(LDFLAGS) -shared \$(OBJS) -o \$\@ install-lib: \$(SOFILE) install -D \$^ \$(DESTDIR)\$(LIBDIR)/\$^.\$(APIVERSION) |