summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-09 04:46:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-09 04:46:04 +0000
commit9beb4ea0991570f8e528c960692923f30e1e6ff6 (patch)
treed79683efc2420603d6562028abe8604158308ea9 /perl-install/Makefile
parent29befffc2d3f771ded66883f7a79f0327f1ea165 (diff)
downloaddrakx-backup-do-not-use-9beb4ea0991570f8e528c960692923f30e1e6ff6.tar
drakx-backup-do-not-use-9beb4ea0991570f8e528c960692923f30e1e6ff6.tar.gz
drakx-backup-do-not-use-9beb4ea0991570f8e528c960692923f30e1e6ff6.tar.bz2
drakx-backup-do-not-use-9beb4ea0991570f8e528c960692923f30e1e6ff6.tar.xz
drakx-backup-do-not-use-9beb4ea0991570f8e528c960692923f30e1e6ff6.zip
replace lang::get_unneeded_png_lang_files() with lang::png_lang_files
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 3c20cbb38..253d5e880 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -104,6 +104,7 @@ get_needed_files: $(DIRS) mo_files
install -d $(DEST)/usr/lib
install -d $(DEST)/usr/$(LIB)
install -d $(DEST)/usr/share
+ install -d $(DEST)/usr/share/langs
install -d $(DEST)/usr/share/gtk
install -d $(DEST)/usr/share/xmodmap
install -d $(DEST)/usr/X11R6/lib/X11
@@ -168,8 +169,8 @@ endif
cd share ; cp -a consolefonts devices symlinks $(DEST)/usr/share
-cd share ; cp -f *.png $(DEST)/usr/share
- -cd pixmaps ; cp -af *.png *.xpm langs $(DEST)/usr/share ; rm -f $(DEST)/usr/share/wiz_*
- unneeded=`perl -I. -Mlang -e 'lang::get_unneeded_png_lang_files'`; cd $(DEST)/usr/share; rm -f $$unneeded
+ -cd pixmaps ; cp -af *.png *.xpm $(DEST)/usr/share ; rm -f $(DEST)/usr/share/wiz_*
+ cp `perl -I. -Mlang -e 'lang::png_lang_files()'` $(DEST)/usr/share/langs
cd share ; cp compssUsers compssUsers.* rpmsrate $(ROOTDEST)/Mandrake/base
clean-rpmsrate $(ROOTDEST)/Mandrake/base/rpmsrate $(ROOTDEST)/Mandrake/RPMS*