From 876056778c7076233ad73d2a4ea9e9d1dd4b3ba3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 18 Nov 2003 16:14:48 +0000 Subject: allow move to build & install drakx mo files (using sudo) --- perl-install/share/po/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'perl-install/share/po/Makefile') diff --git a/perl-install/share/po/Makefile b/perl-install/share/po/Makefile index ad4860d9b..660ab1ccb 100644 --- a/perl-install/share/po/Makefile +++ b/perl-install/share/po/Makefile @@ -9,7 +9,9 @@ LANGS = $(POFILES:%.po=%) LOCALEDIR=$(DATADIR)/locale -all: help $(MOFILES) +all: help mofiles + +mofiles: $(MOFILES) help: @if [ ! -d doc ]; then \ @@ -37,8 +39,8 @@ DrakX.pot: $(PMSFILES) install: for l in $(LANGS); do \ - install -d $(LOCALEDIR)/$$l/LC_MESSAGES; \ - install -m 644 $$l.mo $(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME).mo; \ + $(SUDO) install -d $(LOCALEDIR)/$$l/LC_MESSAGES; \ + $(SUDO) install -m 644 $$l.mo $(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME).mo; \ done clean: -- cgit v1.2.1