summaryrefslogtreecommitdiffstats
path: root/perl-install/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/Makefile
parentaf69826f2361bf554d9470eb92253e5ba0985550 (diff)
downloaddrakx-876056778c7076233ad73d2a4ea9e9d1dd4b3ba3.tar
drakx-876056778c7076233ad73d2a4ea9e9d1dd4b3ba3.tar.gz
drakx-876056778c7076233ad73d2a4ea9e9d1dd4b3ba3.tar.bz2
drakx-876056778c7076233ad73d2a4ea9e9d1dd4b3ba3.tar.xz
drakx-876056778c7076233ad73d2a4ea9e9d1dd4b3ba3.zip
allow move to build & install drakx mo files (using sudo)
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 4bb73feb2..3cec2cc0b 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -80,7 +80,9 @@ install_pms: $(DIRS)
chmod a+x $(DESTREP4PMS)/g_auto_install
chmod a+x $(DESTREP4PMS)/live_install*
-get_needed_files: $(DIRS) $(MOFILES)
+mo_files : $(MOFILES)
+
+get_needed_files: $(DIRS) mo_files
$(MAKE) -C share
@if rpm -q XFree86-VGA16 | grep -q 29mdk; then echo "XFree86-VGA16 29mdk is bad, downgrade to 28mdk" ; exit 1 ; fi
@@ -183,7 +185,7 @@ endif
for i in ../kernel/modules.description ../kernel/all.modules/modules.cz*; do cp -f $$i $(DEST)/lib/; done
- $(MAKE) -C share/po install NAME=libDrakX LOCALEDIR=$(DEST)/usr/share/locale_special
+ $(MAKE) -C share/po install SUDO= NAME=libDrakX LOCALEDIR=$(DEST)/usr/share/locale_special
# ar and fa are disabled as arabic font doesn't work on install
# ga and sl are disabled because too few messages are translated