diff options
author | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2013-01-06 14:47:49 +0100 |
---|---|---|
committer | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2013-01-06 14:47:49 +0100 |
commit | 0c2cc67775565d348ae31faa71d2d1b70dc95bb0 (patch) | |
tree | ca0c122c89511b467e3ccf295cb05cfd84a8a853 | |
parent | fbaad72d3b4f65b2b06d965d060f87fd17ac6411 (diff) | |
download | vdr-plugin-inputdev-0c2cc67775565d348ae31faa71d2d1b70dc95bb0.tar.gz vdr-plugin-inputdev-0c2cc67775565d348ae31faa71d2d1b70dc95bb0.tar.bz2 |
makefile: use install to copy files
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,6 +13,9 @@ MSGMERGE ?= msgmerge XGETTEXT ?= xgettext PKG_CONFIG ?= pkg-config +INSTALL ?= install +INSTALL_DATA ?= $(INSTALL) -p -m 0644 + SYSTEMD_CFLAGS = $(shell ${PKG_CONFIG} --cflags libsystemd-daemon || echo "libsystemd_missing") SYSTEMD_LIBS = $(shell ${PKG_CONFIG} --libs libsystemd-daemon || echo "libsystemd_missing") @@ -128,8 +131,7 @@ $(I18Npot): $(wildcard *.c *.cc) @touch $@ $(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo - @mkdir -p $(dir $@) - cp $< $@ + $(INSTALL_DATA) -D $< $@ .PHONY: i18n i18n: $(I18Nmsgs) $(I18Npot) |