summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-20 12:37:36 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-20 12:37:36 +0100
commit2f4049bb95f8658e3406d8081c1fd575ef5da89a (patch)
tree734f578e9ab782a4a98aaae3118b9a5187412927 /Makefile.SH
parent0f289c68de322445a34feb41ea8f00b7bf9c85de (diff)
downloadperl-2f4049bb95f8658e3406d8081c1fd575ef5da89a.tar.gz
On Unix, use the -C option to mktables rather than an explicit chdir.
This makes generating the -I options for the command line clearer.
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH
index deb544446c..477610a286 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -970,7 +970,7 @@ x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) $(dynamic_ext) x2p/s2p.PL
unidatafiles $(unidatafiles): uni.data
uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables $(nonxs_ext)
- cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl$(EXE_EXT) -I../../lib -I../../ext/Cwd/lib mktables -w
+ $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib -Iext/Cwd/lib lib/unicore/mktables -C lib/unicore -w
touch uni.data
# perl$(EXE_EXT) and ext because buildtoc uses Text::Wrap uses re