summaryrefslogtreecommitdiff
path: root/japanese/ebw3/files/patch-aa
blob: b76240934c87fee00dbc73cbb5cdb6e2f08df2f3 (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
45
46
47
48
*** Makefile.orig	Sat May 24 01:09:16 1997
--- Makefile	Mon Jun 23 16:54:38 1997
***************
*** 1,13 ****
  #
  # $Id: Makefile,v 1.4 1996/04/22 01:19:40 root Exp $
  #
! DESTDIR	= /usr/local/etc
  PROGS	= ebw3 ebw3d ebdp
  SRCS	= main.c init.c func.c search.c html1.c html2.c image.c gif.c gif2.c\
  	  kanji.c romatbl.c util.c
  OBJS	= main.o init.o func.o search.o html1.o html2.o image.o gif.o gif2.o\
  	  kanji.o romatbl.o util.o
! CFLAGS	= -g -O # -DDEBUG
  CC	= gcc
  
  all	: $(PROGS)
--- 1,13 ----
  #
  # $Id: Makefile,v 1.4 1996/04/22 01:19:40 root Exp $
  #
! DESTDIR	= ${PREFIX}/libexec
  PROGS	= ebw3 ebw3d ebdp
  SRCS	= main.c init.c func.c search.c html1.c html2.c image.c gif.c gif2.c\
  	  kanji.c romatbl.c util.c
  OBJS	= main.o init.o func.o search.o html1.o html2.o image.o gif.o gif2.o\
  	  kanji.o romatbl.o util.o
! CFLAGS	= -g -O -DCONFIG_FILE=\"${PREFIX}/etc/ebw3d.conf\"
  CC	= gcc
  
  all	: $(PROGS)
***************
*** 22,28 ****
  	$(CC) $(CFLAGS) -o $@ ebdp.o
  
  install	:
! 	install	-c -s $(PROGS) $(DESTDIR)
  
  clean	:
  	-rm -f $(OBJS) $(PROGS) *.core core ebw3.o ebdp.o version.o
--- 22,28 ----
  	$(CC) $(CFLAGS) -o $@ ebdp.o
  
  install	:
! 	install	-c -s -o bin -g bin -m 555 $(PROGS) $(DESTDIR)
  
  clean	:
  	-rm -f $(OBJS) $(PROGS) *.core core ebw3.o ebdp.o version.o