summaryrefslogtreecommitdiff
path: root/japanese/e2ps/files/patch-Makefile
blob: b2b3156b6e43d4144170adef426169a55c75946a (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
--- Makefile.orig	Mon May 20 11:41:41 2002
+++ Makefile	Mon Oct 25 23:21:09 2004
@@ -6,7 +6,7 @@
 
 
 # Directory to install e2ps
-E2PS_INST_DIR = /usr/local/bin
+E2PS_INST_DIR = ${PREFIX}/bin
 
 # Tab width
 TABSTOP = 8
@@ -52,15 +52,12 @@
 
 
 # C and C args
-CC = gcc
+# CC = gcc
 CC_ARGS = -Wall
 # CC_ARGS = -Wall -O2
 CC_LIB = 
 
-# strip command
-STRIP = strip
-
-CFLAGS = $(CC_ARGS) $(DEFINES) $(CC_LIB)
+CFLAGS += $(CC_ARGS) $(DEFINES) $(CC_LIB)
 
 SRC = e2ps.c ps-font.c wtkf.c
 OBJ = e2ps.o ps-font.o wtkf.o
@@ -81,4 +78,3 @@
 
 e2ps:	$(OBJ)
 	$(CC) -o $@ $(OBJ) $(CFLAGS)
-	$(STRIP) $@