summaryrefslogtreecommitdiff
path: root/recipes/appweb/appweb-1.2.0/nonrootinstall.patch
blob: 4227b7659122cd17640959736969ab1d101f105a (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
46
47
48
49
50
51
52
53
54
55
56
57

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- appWeb-1.2.0/Makefile~nonrootinstall	2004-07-06 15:09:21.000000000 -0500
+++ appWeb-1.2.0/Makefile	2004-07-15 13:45:32.000000000 -0500
@@ -127,40 +127,33 @@
 #
 #	Installation targets
 #
-install: install-rootCheck install-binary
-
-install-rootCheck:
-	@if [ $(BLD_OS) != WIN -a `id -u` -ne 0 ] ; \
-	then \
-		echo "Must be root to install" ; \
-		exit 255 ; \
-	fi
+install: install-binary
 
-install-release: install-rootCheck
+install-release:
 	@$(BLD_PRODUCT)/package/$(BLD_OS)/makeInstall release
 
-install-binary: install-rootCheck
+install-binary:
 	@$(BLD_PRODUCT)/package/$(BLD_OS)/makeInstall binary
 	@echo -e "    #\n    # To start ${BLD_NAME}, run as root:\n    #"
 	@echo -e "        service ${BLD_PRODUCT} start\n"
 
-install-dev: install-rootCheck
+install-dev:
 	@$(BLD_PRODUCT)/package/$(BLD_OS)/makeInstall dev
 
-install-doc: install-rootCheck
+install-doc:
 	@$(BLD_PRODUCT)/package/$(BLD_OS)/makeInstall doc
 
-install-samples: install-rootCheck
+install-samples:
 	@$(BLD_PRODUCT)/package/$(BLD_OS)/makeInstall samples
 
-install-source: install-rootCheck
+install-source:
 	@$(BLD_PRODUCT)/package/$(BLD_OS)/makeInstall source
 
-install-all: install-rootCheck
+install-all:
 	@$(BLD_PRODUCT)/package/$(BLD_OS)/makeInstall \
 		"release binary dev doc samples source"
 
-uninstall: install-rootCheck
+uninstall:
 	@$(BLD_PRODUCT)/package/$(BLD_OS)/makeUninstall
 
 #