summaryrefslogtreecommitdiff
path: root/misc/freewnn-common/patches/patch-aa
blob: b846576cad6b59af2d52a7c6758136fea9fbc6b1 (plain)
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
49
50
51
$NetBSD: patch-aa,v 1.2 1999/09/03 04:24:10 sakamoto Exp $

--- ./Wnn/Makefile.in.orig	Tue Mar 23 21:10:52 1999
+++ ./Wnn/Makefile.in	Thu Sep  2 19:21:52 1999
@@ -611,6 +611,4 @@
 # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-WNNOWNER= wnn
-
 JSERVERDIR = jserver
 
@@ -629,9 +627,15 @@
 JDDIR = jd
 
-WNNMANDIR = man
-
 JLIBV3DIR = jlib.V3
 
-SUBDIRS = $(JDDIR) $(JSERVERDIR) $(JLIBDIR) $(WNNCLIENTSDIR) $(WNNJUTILDIR)         $(PUBDICDIR) $(WNNCONSDIR) $(WNNMANDIR) $(WNNENVDIR) $(JLIBV3DIR)
+.if (${WNN_TARGET} == "SERVER")
+WNNMANDIR = man/2.env man/4.cmd man/6.jutil
+SUBDIRS_INST = $(JSERVERDIR) $(WNNJUTILDIR) $(PUBDICDIR) $(WNNCONSDIR)			 $(WNNMANDIR)
+SUBDIRS = $(JDDIR) $(SUBDIRS_INST)
+.else
+WNNMANDIR = man/3.libwnn
+SUBDIRS_INST = $(JDDIR) $(JLIBDIR) $(WNNCLIENTSDIR) $(WNNMANDIR) $(WNNENVDIR) $(JLIBV3DIR)
+SUBDIRS = $(SUBDIRS_INST)
+.endif
 
 all::
@@ -699,5 +703,5 @@
 	@for flag in ${MAKEFLAGS} ''; do \
 	case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
-	for i in $(SUBDIRS) ;\
+	for i in $(SUBDIRS_INST) ;\
 	do \
 	echo "installing" "in $(CURRENT_DIR)/$$i..."; \
@@ -709,5 +713,5 @@
 	@for flag in ${MAKEFLAGS} ''; do \
 	case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
-	for i in $(SUBDIRS) ;\
+	for i in $(SUBDIRS_INST) ;\
 	do \
 	echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \
@@ -719,5 +723,5 @@
 	@for flag in ${MAKEFLAGS} ''; do \
 	case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
-	for i in $(SUBDIRS) ;\
+	for i in $(SUBDIRS_INST) ;\
 	do \
 	echo "installing link kit" "in $(CURRENT_DIR)/$$i..."; \