summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-18 16:14:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-18 16:14:48 +0000
commit876056778c7076233ad73d2a4ea9e9d1dd4b3ba3 (patch)
treeda1e33ca6f8aa4aa180653cd233f17f9308d8f7a /perl-install/share/po/Makefile
parentaf69826f2361bf554d9470eb92253e5ba0985550 (diff)
downloaddrakx-backup-do-not-use-876056778c7076233ad73d2a4ea9e9d1dd4b3ba3.tar
drakx-backup-do-not-use-876056778c7076233ad73d2a4ea9e9d1dd4b3ba3.tar.gz
drakx-backup-do-not-use-876056778c7076233ad73d2a4ea9e9d1dd4b3ba3.tar.bz2
drakx-backup-do-not-use-876056778c7076233ad73d2a4ea9e9d1dd4b3ba3.tar.xz
drakx-backup-do-not-use-876056778c7076233ad73d2a4ea9e9d1dd4b3ba3.zip
allow move to build & install drakx mo files (using sudo)
Diffstat (limited to 'perl-install/share/po/Makefile')
-rw-r--r--perl-install/share/po/Makefile8
1 files changed, 5 insertions, 3 deletions
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: