blob: b4c8f694489739e603ffdf535504bde262f70a06 (
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
34
35
36
37
38
39
40
41
42
43
44
|
--- src/Makefile.orig Wed Dec 18 01:01:16 2002
+++ src/Makefile Mon Feb 3 20:18:03 2003
@@ -34,7 +34,7 @@
#
PROGRAMNAME = UpClient
# UPCLIENT_VERSION = "5.0b7"
- UPCLIENT_VERSION = `grep '\#define UPCLIENT_VERSION ' version.h | sed -e 's@\#define UPCLIENT_VERSION @@g' | tr -d '"'`
+ UPCLIENT_VERSION = `sed -n 's/"//g;/\#define UPCLIENT_VERSION /s///p' version.h`
#########################################################################
@@ -46,7 +46,7 @@
OPTIMIZATION_CFLAGS=-O3
# System directories
-prefix = /usr/local
+prefix = %%PREFIX%%
#prefix = /sw
#prefix = /opt/${binname}
#prefix = /tmp/upclient
@@ -59,8 +59,8 @@
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
#sysconfdir = /etc
-localstatedir = ${prefix}/var
-#localstatedir = /var
+#localstatedir = ${prefix}/var
+localstatedir = /var
destdir=
@@ -90,9 +90,9 @@
## [x86] FreeBSD (4.7-RC)
## assumes gettext installed in /usr/local
-#localedir = ${datadir}/locale
-#LOCALEFLAGS = -DLOCALEPATH=\"$(localedir)\" -I/usr/local/include
-#LOCALELIBS = -L/usr/local/lib -lintl
+localedir = ${datadir}/locale
+LOCALEFLAGS = -DLOCALEPATH=\"$(localedir)\" -I%%LOCALBASE%%/include
+LOCALELIBS = -L%%LOCALBASE%%/lib -lintl
## [Sparc - R220] Sun Solaris (5.8)
## not sure whether this locale dir is correct
|