summaryrefslogtreecommitdiff
path: root/command/Makefile
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-03-31 03:18:21 +0200
committerJochen Dolze <vdr@dolze.de>2010-03-31 03:18:21 +0200
commit2aed1692fe4267ba15f0a4748979248e223d14fd (patch)
treef3b678f2a7824a76c2cf94acd287e2efbe389d5c /command/Makefile
parent0672ba75337d8cf54848f45e719af16a01dff98f (diff)
downloadvdr-plugin-markad-2aed1692fe4267ba15f0a4748979248e223d14fd.tar.gz
vdr-plugin-markad-2aed1692fe4267ba15f0a4748979248e223d14fd.tar.bz2
Fixed bugs in makefile, extended usage info
Diffstat (limited to 'command/Makefile')
-rw-r--r--command/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/command/Makefile b/command/Makefile
index 6091c55..efafc13 100644
--- a/command/Makefile
+++ b/command/Makefile
@@ -65,19 +65,19 @@ $(I18Npot): $(wildcard *.cpp *.h)
msgmerge -U --no-wrap --no-location --backup=none -q $@ $<
@touch $@
-$(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
+$(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/markad.mo: $(PODIR)/%.mo
@mkdir -p $(dir $@)
cp $< $@
.PHONY: i18n
-i18n: $(I18Nmsgs) $(I18Npot)
+i18n: $(I18Npot)
### Targets:
markad: $(OBJS)
$(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@
-install: markad
+install: markad $(I18Nmsgs)
@cp --remove-destination markad $(DESTDIR)/usr/bin/markad
@strip $(DESTDIR)/usr/bin/markad
@mkdir -p $(DESTDIR)/var/lib/markad