aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/tcsh/files/fix-make-catalogs.patch
blob: 43001f117d47b6ccea5169c69c211b5d79752f22 (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
Author: christos <christos>
Date:   Thu May 13 18:39:02 2010 +0000

    add a rule to make catalogs and propagate ${MAKE} instead of hard-coding make.

--- a/Makefile.in
+++ b/Makefile.in
@@ -687,7 +687,7 @@ shar:
 	rm -rf tcsh-${VERSION}
 
 catalogs:
-	@(cd nls; make catalogs)
+	@(cd nls; ${MAKE})
 
 tcsh-${VERSION}.tar.Z:
 	rm -rf tcsh-${VERSION} 
--- a/nls/Makefile.in
+++ b/nls/Makefile.in
@@ -18,7 +18,7 @@ install:	$(INSTALLED)
 	$(INSTALL) $< $@
 
 %.cat:
-	$(GENCAT) $@ $(@:%.cat=%)/*set*
+	cat $(@:%.cat=%)/charset $(@:%.cat=%)/set* | $(GENCAT) $@ 
 
 clean:
 	$(RM) $(CATALOGS)