aboutsummaryrefslogtreecommitdiff
path: root/chinese/gcin-devel/files/patch-menu
blob: 2acd2a1f303639cc9ac67425204c25d5102580af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- menu/Makefile.orig	Mon Aug 29 09:40:32 2005
+++ menu/Makefile	Thu Sep 15 11:53:49 2005
@@ -12,12 +12,12 @@
 	   install -m 644 $(MENUS) /usr/lib/menu; \
 	   which update-menus >& /dev/null && update-menus || exit 0; \
 	else \
-	   install -d $(libdir)/menu; \
-	   install -m 644 $(MENUS) $(libdir)/menu; \
-	   install -d $(GCIN_SETUP_DESKTOP_rpm); \
-	   install -m 644 gcin-setup.desktop $(GCIN_SETUP_DESKTOP_rpm); \
-	   install -d $(datadir)/applications; \
-	   install -m 644 gcin-setup.desktop $(datadir)/applications; \
+	   install -d $(prefix)/share/applications; \
+	   install -m 644 $(MENUS) $(prefix)/share/applications; \
+	   echo "install Gnome's control center panel ..."; \
+	   install -d $(datadir)/gnome/control-center-2.0/capplets; \
+	   install -m 644 gcin-setup.desktop $(datadir)/gnome/control-center-2.0/capplets; \
+	   echo "installing Other common wm(ie:xfce4)'s menu panel ..."; \
 	fi
 clean:
 	rm -f $(MENUS) *~