summaryrefslogtreecommitdiff
path: root/sysutils/open-vm-tools/patches/patch-ab
blob: 97bae0fdd292c127436f3f30c686016ad58181e4 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
$NetBSD: patch-ab,v 1.2 2008/08/31 06:36:47 scottr Exp $

--- guestd/Makefile.in.orig	2008-08-08 02:02:07.000000000 -0500
+++ guestd/Makefile.in
@@ -144,6 +144,7 @@ ECHO = @ECHO@
 ECHO_C = @ECHO_C@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
+EGDIR = @datarootdir@/examples
 EGREP = @EGREP@
 EXEEXT = @EXEEXT@
 F77 = @F77@
@@ -559,7 +560,7 @@ info: info-am
 
 info-am:
 
-install-data-am: install-pamSCRIPTS
+install-data-am:
 
 install-dvi: install-dvi-am
 
@@ -597,7 +598,7 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am: uninstall-pamSCRIPTS uninstall-sbinPROGRAMS
+uninstall-am: uninstall-sbinPROGRAMS
 	@$(NORMAL_INSTALL)
 	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 
@@ -620,11 +621,11 @@ uninstall-am: uninstall-pamSCRIPTS unins
 
 
 install-exec-hook:
-	$(INSTALL) -d $(DESTDIR)/etc/vmware-tools
-	echo 'disable-tools-version = "true"' > $(DESTDIR)/etc/vmware-tools/tools.conf
+	$(MKDIR_P) $(DESTDIR)${EGDIR}/vmware-tools
+	echo 'disable-tools-version = "true"' > $(DESTDIR)${EGDIR}/vmware-tools/tools.conf
 
 uninstall-hook:
-	$(RM) -rf $(DESTDIR)/etc/vmware-tools
+	$(RM) -rf $(DESTDIR)${EGDIR}/vmware-tools
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: