51d52004ea
- modernize - use termios
39 lines
920 B
Text
39 lines
920 B
Text
$NetBSD: patch-aa,v 1.4 2000/02/07 03:18:08 christos Exp $
|
|
|
|
--- Makefile.orig Wed Jun 9 22:51:22 1993
|
|
+++ Makefile Sun Feb 6 21:48:47 2000
|
|
@@ -15,17 +15,21 @@
|
|
DISTRIBUTION\
|
|
= Makefile fep.1 $(HEADER) $(SRC) feprc.sample README
|
|
|
|
-INSTDIR = /usr/local/bin
|
|
+INSTDIR = ${PREFIX}/bin
|
|
|
|
#STAT = -DSTAT# Delete # for statistic info
|
|
#KANJI = -DKANJI# Delete # for KANJI handling
|
|
-CONFIG = $(STAT) $(KANJI)
|
|
+CONFIG = $(STAT) $(KANJI) -DTERMIOS
|
|
|
|
#DEBUG = -g
|
|
-DEBUG = -O
|
|
+#DEBUG = -O
|
|
|
|
-CFLAGS = $(DEBUG) $(CONFIG)
|
|
+CFLAGS += $(DEBUG) $(CONFIG)
|
|
+.if exists(/usr/lib/libcompat.a)
|
|
+LDFLAGS = -ltermcap -lcompat
|
|
+.else
|
|
LDFLAGS = -ltermcap
|
|
+.endif
|
|
|
|
all: $(TARGET)
|
|
|
|
@@ -37,7 +41,7 @@
|
|
|
|
install: $(TARGET)
|
|
install -s $(TARGET) $(INSTDIR)
|
|
- install -c fep.1 /usr/man/manl/fep.l
|
|
+ gzip -9n -c fep.1 > ${PREFIX}/man/man1/fep.1.gz
|
|
|
|
fep.1: fep.jman
|
|
sed -e '/^\.EG/d' -e '/^\.JP/,/^\.EJ/d' -e '/^\.\\"KS/,/^\.\\"KE/d' \
|