From ebfa24daa5c0d90fe505ef72cf02cb8f330a2227 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sat, 12 Jan 2013 13:45:55 +0100 Subject: fixed some i18n stuff in the makefile --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 55a63b0..78e3498 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ INSTALL_DATA ?= $(INSTALL) -p -m 0644 INSTALL_PLUGIN ?= $(INSTALL) -p -m 0755 INSTALL_BIN ?= $(INSTALL) -p -m 0755 MKDIR_P ?= $(INSTALL) -d -m 0755 +TOUCH_C ?= touch -c SYSTEMD_CFLAGS = $(shell ${PKG_CONFIG} --cflags libsystemd-daemon || echo "libsystemd_missing") SYSTEMD_LIBS = $(shell ${PKG_CONFIG} --libs libsystemd-daemon || echo "libsystemd_missing") @@ -150,13 +151,17 @@ $(_all_inst_mo):$(call _full_mo_path,%): po/%.mo $(MKDIR_P) ${@D} $(INSTALL_DATA) $< $@ +i18n: $(_mo_files) + install-i18n: $(_all_inst_mo) %.po: $(POTFILE) $(MSGMERGE) $(AM_MSGMERGEFLAGS) $@ $< + @$(TOUCH_C) $@ $(POTFILE): $(plugin_SOURCES) $(XGETTEXT) $(AM_XGETTEXTFLAGS) -o $@ $^ + @$(TOUCH_C) $@ ### Targets: vdr-inputdev: $(helper_SOURCES) -- cgit v1.2.3