blob: d4ca5d082d696c7e7c5ffbdfa3325464735673d4 (
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
|
$NetBSD: patch-ac,v 1.6 2010/04/15 06:50:46 dholland Exp $
--- nls/Makefile.orig 2005-08-18 12:49:24.000000000 +0000
+++ nls/Makefile
@@ -1,6 +1,6 @@
LANGFILE=LANGS
CATNAME=elm2.5.cat
-GENCAT= gencat/gencat
+GENCAT= ./gencat/gencat
HDIR= ../hdrs
SDIR= C/C/C
@@ -35,8 +35,11 @@ nls-headers: clean $(HFILES)
# same basename, so wait until install to put them somewhere.
all:
-install:
- ./Install $(LANGFILE) $(GENCAT) $(CATNAME)
+install: $(GENCAT)
+ DESTDIR=$(DESTDIR) ./Install $(LANGFILE) $(GENCAT) $(CATNAME)
+
+$(GENCAT):
+ cd gencat && $(MAKE) $(MFLAGS) $(MJ)
$(HFILES): $(MFILES)
gencat/gencat $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
|