blob: a472d98499265266e5a5a7c53edac4e0eabc5958 (
plain) (
blame)
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
|
--- Makefile.orig Wed Oct 23 22:16:50 2002
+++ Makefile Tue Nov 12 12:10:58 2002
@@ -2,9 +2,9 @@
## Makefile for suPHP ##
##############################################
-SUPHP_INSTALL = /usr/sbin/suphp
+SUPHP_INSTALL = $(PREFIX)/sbin/suphp
-CC = gcc
+#CC = gcc
CFLAGS = -c -Wall
LD = gcc
LDFLAGS = -o
@@ -31,11 +31,7 @@
touch suphp.h
install: suphp
- if [ $$UID = 0 ]; then \
- cp suphp ${SUPHP_INSTALL}; \
- else \
- echo -e "You need to be root to install suPHP."; \
- fi
+ $(INSTALL) -o root -g wheel -m 4755 suphp ${SUPHP_INSTALL}
clean:
rm *.o
@@ -43,3 +39,5 @@
rmbackups:
rm *~
+
+all: suphp
|