Lines 1-5
Link Here
|
1 |
--- Makefile.dist Sat Apr 27 02:26:56 2002 |
1 |
--- Makefile.dist 2006-08-13 03:50:15.000000000 -0500 |
2 |
+++ Makefile Sat Apr 27 09:35:52 2002 |
2 |
+++ Makefile 2014-05-19 20:04:56.636909101 -0500 |
3 |
@@ -6,8 +6,8 @@ |
3 |
@@ -6,8 +6,8 @@ |
4 |
# they should be set. All of them are conditional on options set in this |
4 |
# they should be set. All of them are conditional on options set in this |
5 |
# file, so it should be relatively easy to determine which branch is correct |
5 |
# file, so it should be relatively easy to determine which branch is correct |
Lines 6-17
Link Here
|
6 |
|
6 |
|
7 |
-BINDIR = .. |
7 |
-BINDIR = .. |
8 |
-MODDIR = ../modules |
8 |
-MODDIR = ../modules |
9 |
+BINDIR = ${PREFIX}/ecartis |
9 |
+BINDIR = ${DESTDIR}${PREFIX}/ecartis |
10 |
+MODDIR = ${PREFIX}/ecartis/modules |
10 |
+MODDIR = ${BINDIR}/modules |
11 |
|
11 |
|
12 |
# First things first we need to set up some various options since OS's aren't |
12 |
# First things first we need to set up some various options since OS's aren't |
13 |
# as nice about things are they could be. |
13 |
# as nice about things are they could be. |
14 |
@@ -38,7 +38,7 @@ |
14 |
@@ -33,7 +33,7 @@ |
15 |
# Uncomment this if you are on a BSD system AND you want dynamic modules |
15 |
# Uncomment this if you are on a BSD system AND you want dynamic modules |
16 |
# SunOS (4 and 5 both) also needs this setting. |
16 |
# SunOS (4 and 5 both) also needs this setting. |
17 |
# |
17 |
# |
Lines 20-35
Link Here
|
20 |
|
20 |
|
21 |
# Uncomment this if you are compiling on OpenBSD with modules (BSDMOD = 1) |
21 |
# Uncomment this if you are compiling on OpenBSD with modules (BSDMOD = 1) |
22 |
#OBSDMOD = 1 |
22 |
#OBSDMOD = 1 |
23 |
@@ -60,7 +60,7 @@ |
23 |
@@ -120,7 +120,6 @@ |
24 |
# Uncomment this if you have the GNU strftime() function. This version |
|
|
25 |
# of the function understands %z to return the numerical offset. It's better |
26 |
# to use that if it's available for RFC822 date headers |
27 |
-GNU_STRFTIME=-DGNU_STRFTIME |
28 |
+#GNU_STRFTIME=-DGNU_STRFTIME |
29 |
|
30 |
# Uncomment this if you are on a machine that doesn't have strerror() |
31 |
# |
32 |
@@ -125,7 +125,6 @@ |
33 |
ifdef BSDIMOD |
24 |
ifdef BSDIMOD |
34 |
CC=shlicc |
25 |
CC=shlicc |
35 |
else |
26 |
else |
Lines 37-43
Link Here
|
37 |
endif |
28 |
endif |
38 |
|
29 |
|
39 |
# Warning-level flags. Under SunOS (4 and 5), this NEEDS TO BE BLANK. |
30 |
# Warning-level flags. Under SunOS (4 and 5), this NEEDS TO BE BLANK. |
40 |
@@ -134,9 +133,7 @@ |
31 |
@@ -129,9 +128,7 @@ |
41 |
# |
32 |
# |
42 |
# It appears that IRIX is also rather stupid, and may require this |
33 |
# It appears that IRIX is also rather stupid, and may require this |
43 |
# to be removed. |
34 |
# to be removed. |
Lines 48-58
Link Here
|
48 |
|
39 |
|
49 |
# Now set up the initial command line. SUNOS_5 makes this a bit wierd. |
40 |
# Now set up the initial command line. SUNOS_5 makes this a bit wierd. |
50 |
ifndef SUNOS_5 |
41 |
ifndef SUNOS_5 |
51 |
@@ -327,6 +324,7 @@ |
|
|
52 |
install: targets |
53 |
cp build/ecartis ${BINDIR} |
54 |
chmod ug+s ${BINDIR}/ecartis |
55 |
+ chown -R ecartis:ecartis ${BINDIR} |
56 |
ifdef DYNMOD |
57 |
@for dir in ${MODULES}; do \ |
58 |
cp build/$${dir}.lpm ${MODDIR}/$${dir}.lpm; \ |