blob: 8afc6e31b0cd1d1f1766e75188b0d53eb010c864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$NetBSD: patch-ag,v 1.1.1.1 2006/01/16 13:01:16 rxg Exp $
--- menu/Makefile.orig 2005-08-29 09:40:32.000000000 +0800
+++ menu/Makefile
@@ -5,19 +5,11 @@ include ../config.mak
all:
install:
- if [ $(prefix) = /usr/local ]; then \
- install gcin-setup.desktop $(GCIN_SETUP_DESKTOP); \
- 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; \
- 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; \
- fi
+ install -m 644 gcin-setup.desktop $(datadir)/applications
clean:
rm -f $(MENUS) *~
|