summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-04 21:49:40 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-04 21:49:40 +0000
commitbcd1bf4e45de7e5f59a6c1e7eaaf7ad401d7fc28 (patch)
tree01e2e993eee17983f2d616caecc998cc3dba5acf /perl-install/Makefile
parentbeb56af292cfc8f5ed3e78034da33e96ca9e7953 (diff)
downloaddrakx-backup-do-not-use-bcd1bf4e45de7e5f59a6c1e7eaaf7ad401d7fc28.tar
drakx-backup-do-not-use-bcd1bf4e45de7e5f59a6c1e7eaaf7ad401d7fc28.tar.gz
drakx-backup-do-not-use-bcd1bf4e45de7e5f59a6c1e7eaaf7ad401d7fc28.tar.bz2
drakx-backup-do-not-use-bcd1bf4e45de7e5f59a6c1e7eaaf7ad401d7fc28.tar.xz
drakx-backup-do-not-use-bcd1bf4e45de7e5f59a6c1e7eaaf7ad401d7fc28.zip
no_comment
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 b93caf6b7..cc1991b19 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -10,7 +10,7 @@ DESTREP4PMS = $(DEST)/usr/bin/perl-install
PERL = perl
LOCALFILES = $(PERL) mouseconfig
DIRS = po pci_probing
-EXCLUDE = $(LOCALFILES) boot.img xmodmap keymaps consolefonts install
+EXCLUDE = $(LOCALFILES) boot.img keymaps consolefonts install
RPMS = $(wildcard $(ROOTDEST)/Mandrake/RPMS/*.rpm)
CFLAGS = -Wall
override CFLAGS += -pipe
@@ -106,6 +106,7 @@ get_needed_files: $(SO_FILES)
install -d $(DEST)/usr/bin
install -d $(DEST)/usr/lib
install -d $(DEST)/usr/share
+ install -d $(DEST)/usr/share/xmodmap
install -d $(ROOTDEST)/Mandrake/base
install -s $(LOCALFILES) $(DEST)/usr/bin
@@ -135,7 +136,8 @@ get_needed_files: $(SO_FILES)
cd /usr/X11R6/lib/X11/fonts/75dpi ; cp -a fonts.* helvR* $(DEST)/usr/X11R6/lib/X11/fonts/75dpi
cd /usr/X11R6/lib/X11/fonts/misc ; cp -a fonts.* cursor.pcf.gz 6x13.pcf.gz $(DEST)/usr/X11R6/lib/X11/fonts/misc
- cp -a xmodmap $(DEST)/usr/share
+ perl -I. -Ic -Ic/blib/arch -Mkeyboard -e 'foreach (keyboard::xmodmaps()) { `cp /usr/share/xmodmap/xmodmap.$$_ $(DEST)/usr/share/xmodmap` }'
+
cp -a keymaps $(DEST)/usr/share
cp -a consolefonts $(DEST)/usr/share
cp MonitorsDB $(DEST)/usr/share