summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile.drakxtools
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-09-02 15:43:26 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-09-02 15:43:26 +0000
commitd81bcfe870261ef939c28c7b585b17a36c61619f (patch)
treed0e87a19bb476407bcf69e577ec56a7f6a657107 /perl-install/Makefile.drakxtools
parenta0c389a509642f93d018464f3cbc268caca81adb (diff)
downloaddrakx-backup-do-not-use-d81bcfe870261ef939c28c7b585b17a36c61619f.tar
drakx-backup-do-not-use-d81bcfe870261ef939c28c7b585b17a36c61619f.tar.gz
drakx-backup-do-not-use-d81bcfe870261ef939c28c7b585b17a36c61619f.tar.bz2
drakx-backup-do-not-use-d81bcfe870261ef939c28c7b585b17a36c61619f.tar.xz
drakx-backup-do-not-use-d81bcfe870261ef939c28c7b585b17a36c61619f.zip
29mdk: add harddrake icons
Diffstat (limited to 'perl-install/Makefile.drakxtools')
-rw-r--r--perl-install/Makefile.drakxtools8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/Makefile.drakxtools b/perl-install/Makefile.drakxtools
index 35513c907..e719d9cc8 100644
--- a/perl-install/Makefile.drakxtools
+++ b/perl-install/Makefile.drakxtools
@@ -7,7 +7,9 @@ DIRS = $(INLIBDEST_DIRS) $(HAVEINST_DIRS) ddcprobe serial_probe harddrake
NAME = libDrakX
PREFIX =
LIBDIR = $(PREFIX)/usr/lib
+MENUDIR= $(LIBDEST)/menu
DATADIR = $(PREFIX)/usr/share
+ICONSDIR= $(DATADIR)/icons
BINDEST = $(PREFIX)/usr/bin
SBINDEST = $(PREFIX)/usr/sbin
ETCDEST = $(PREFIX)/etc/gtk
@@ -26,7 +28,7 @@ $(DIRS):
[ ! -e $@/Makefile ] || $(MAKE) -C $@
install:
- mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{harddrake,pixmaps} $(BINX11DEST) $(LIBX11DEST) $(PIXDIR) $(INITDIR)
+ mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{harddrake,pixmaps,icons/{large,mini}} $(BINX11DEST) $(LIBX11DEST) $(PIXDIR) $(INITDIR) $(MENUDIR)
install -d $(INLIBDEST_DIRS:%=$(LIBDEST)/%)
install $(STANDALONEPMS) $(SBINDEST)
install -s rpcinfo-flushed ddcprobe/ddcxinfos serial_probe/serial_probe $(SBINDEST)
@@ -49,6 +51,10 @@ install:
find auto -follow -name .exists -o -name "*.bs" | xargs rm -f
cp -rfL auto standalone/icons $(LIBDEST)
+ mv $(LIBDEST)/icons/harddrake2/menu/harddrake-menu32.png $(ICONSDIR)/harddrake.png
+ mv $(LIBDEST)/icons/harddrake2/menu/harddrake-menu48.png $(ICONSDIR)/large/harddrake.png
+ mv $(LIBDEST)/icons/harddrake2/menu/harddrake-menu16.png $(ICONSDIR)/mini/harddrake.png
+ rmdir $(LIBDEST)/icons/harddrake2/menu
mv $(LIBDEST)/icons/harddrake2/ $(DATADIR)/pixmaps/
mv $(SBINDEST)/service_harddrake.sh $(INITDIR)/harddrake
mv $(SBINDEST)/service_harddrake $(DATADIR)/harddrake/