summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/Makefile
diff options
context:
space:
mode:
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: