--- menu/Makefile.bak	Mon Oct 30 12:44:59 2006
+++ menu/Makefile	Mon Oct 30 12:43:10 2006
@@ -10,14 +10,10 @@
 	   install gcin-setup.desktop /usr/share/applications; \
 	   install -d /usr/lib/menu; \
 	   install -m 644 $(MENUS) /usr/lib/menu; \
-	   which update-menus >& /dev/null && update-menus || exit 0; \
+	   which update-menus > /dev/null 2>&1 && 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; \
 	fi
 clean:
 	rm -f $(MENUS) *~
