summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-17 12:53:26 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-17 12:53:26 +0000
commitcb22a635f49bb0e344fca8c8a7942bd82e27d7d5 (patch)
tree708346ff695f6ce221de0be268688a5839e61360 /perl-install
parent91760b3583bf19a6a3dabff9af85e89b4eb41cc8 (diff)
downloaddrakx-cb22a635f49bb0e344fca8c8a7942bd82e27d7d5.tar
drakx-cb22a635f49bb0e344fca8c8a7942bd82e27d7d5.tar.gz
drakx-cb22a635f49bb0e344fca8c8a7942bd82e27d7d5.tar.bz2
drakx-cb22a635f49bb0e344fca8c8a7942bd82e27d7d5.tar.xz
drakx-cb22a635f49bb0e344fca8c8a7942bd82e27d7d5.zip
build & install menu entries
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Makefile.drakxtools7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/Makefile.drakxtools b/perl-install/Makefile.drakxtools
index 73852775b..bad4c7731 100644
--- a/perl-install/Makefile.drakxtools
+++ b/perl-install/Makefile.drakxtools
@@ -2,8 +2,8 @@
include Makefile.config
INLIBDEST_DIRS = c resize_fat xf86misc
-HAVEINST_DIRS = share/po standalone/po standalone/interactive_http
-DIRS = $(INLIBDEST_DIRS) $(HAVEINST_DIRS) harddrake printer ../tools/serial_probe
+HAVEINST_DIRS = share/po standalone/po standalone/interactive_http standalone/menu
+DIRS = $(INLIBDEST_DIRS) $(HAVEINST_DIRS) harddrake printer ../tools/serial_probe standalone/menu
NAME = libDrakX
XSETUPLEVEL=40
PREFIX =
@@ -27,7 +27,7 @@ $(DIRS):
install:
perl -pi -e "s/\"VER\"(; # version)/\"$(VERSION)\"\1/" standalone.pm
- mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{harddrake,pixmaps,icons/{large,mini},autostart} $(PIXDIR) $(INITDIR) $(MENUDIR)
+ mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{applications,harddrake,pixmaps,icons/{large,mini},autostart} $(PIXDIR) $(INITDIR) $(MENUDIR)
install -d $(INLIBDEST_DIRS:%=$(LIBDEST)/%)
install $(STANDALONEPMS) standalone/service_harddrake.sh standalone/convert $(SBINDEST)
install -s ../tools/rpcinfo-flushed ../tools/serial_probe/serial_probe $(SBINDEST)
@@ -63,6 +63,7 @@ install:
mv $(LIBDEST)/icons/localedrake-48.png $(ICONSDIR)/large/localedrake.png
mv $(LIBDEST)/icons/localedrake-16.png $(ICONSDIR)/mini/localedrake.png
rmdir $(LIBDEST)/icons/harddrake2/menu
+ install -m 644 standalone/menu/*.desktop $(DATADIR)/applications
mv $(LIBDEST)/icons/harddrake2/ $(DATADIR)/pixmaps/
mv $(SBINDEST)/service_harddrake.sh $(INITDIR)/harddrake
mv $(SBINDEST)/convert $(DATADIR)/harddrake