summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2012-12-17 12:20:34 +0100
committerAndreas Mair <amair.sob@googlemail.com>2012-12-17 12:20:34 +0100
commitb9e9288aa0732003d0778e4b8e7677e53c5ffe15 (patch)
tree2532ebde90f52cf6be7c0e59f223b0542d8953a1
parent44e1d4ad341963d099ccc9bc4017ae4b563892d4 (diff)
downloadvdr-plugin-skinenigmang-b9e9288aa0732003d0778e4b8e7677e53c5ffe15.tar.gz
vdr-plugin-skinenigmang-b9e9288aa0732003d0778e4b8e7677e53c5ffe15.tar.bz2
Pass --package-name and --package-version to xgettext, use $LDFLAGS when linking.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5efa340..e8bc049 100644
--- a/Makefile
+++ b/Makefile
@@ -176,7 +176,7 @@ I18Npot = $(PODIR)/$(PLUGIN).pot
msgfmt -c -o $@ $<
$(I18Npot): $(wildcard *.c)
- xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='<andreas@vdr-developer.org>' -o $@ $^
+ xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<andreas@vdr-developer.org>' -o $@ $^
%.po: $(I18Npot)
msgmerge -U --no-wrap --no-location --backup=none --no-fuzzy-matching -q $@ $<
@@ -192,7 +192,7 @@ i18n: $(I18Nmsgs) $(I18Npot)
### Targets:
libvdr-$(PLUGIN).so: $(OBJS)
- $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@
ifndef SKINENIGMA_DEBUG
@$(STRIP) $@
endif