diff options
author | Vladimir Volovich <vvv@vsu.ru> | 2008-03-25 23:05:32 +0000 |
---|---|---|
committer | Vladimir Volovich <vvv@vsu.ru> | 2008-03-25 23:05:32 +0000 |
commit | 27abb3313851b0227429bbb853bc620f7dd3f7b1 (patch) | |
tree | 3d14ac75c3de5627ec1e4ee74852e4cea0bb278f /Build/source/utils | |
parent | f35167421fd846c51e3bc2daed714bf692532996 (diff) |
simplified the way make-rules.pl finds out where to search for test.xdy
(do not require 3rd @ARGV parameter, but look in @INC, as we pass the $srcdir there)
git-svn-id: svn://tug.org/texlive/trunk@7157 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils')
3 files changed, 8 insertions, 8 deletions
diff --git a/Build/source/utils/xindy/make-rules/alphabets/Makefile.am b/Build/source/utils/xindy/make-rules/alphabets/Makefile.am index d9e1e5a24f8..8d67ae3580e 100644 --- a/Build/source/utils/xindy/make-rules/alphabets/Makefile.am +++ b/Build/source/utils/xindy/make-rules/alphabets/Makefile.am @@ -807,13 +807,13 @@ romanian/cp1250.pl : romanian/utf8.pl sed -n '1,10 p' <$< >$@ %-test.xdy : %.pl - perl -I$(srcdir) $< $* $(srcdir) + perl -I$(srcdir) $< $* %-doc.tex : %.pl - perl -I$(srcdir) $< $* $(srcdir) + perl -I$(srcdir) $< $* %.xdy : %.pl - perl -I$(srcdir) $< $* $(srcdir) + perl -I$(srcdir) $< $* SUBDIRS = \ albanian \ diff --git a/Build/source/utils/xindy/make-rules/alphabets/Makefile.in b/Build/source/utils/xindy/make-rules/alphabets/Makefile.in index adb30d073a8..00d43756148 100644 --- a/Build/source/utils/xindy/make-rules/alphabets/Makefile.in +++ b/Build/source/utils/xindy/make-rules/alphabets/Makefile.in @@ -2363,13 +2363,13 @@ romanian/cp1250.pl : romanian/utf8.pl sed -n '1,10 p' <$< >$@ %-test.xdy : %.pl - perl -I$(srcdir) $< $* $(srcdir) + perl -I$(srcdir) $< $* %-doc.tex : %.pl - perl -I$(srcdir) $< $* $(srcdir) + perl -I$(srcdir) $< $* %.xdy : %.pl - perl -I$(srcdir) $< $* $(srcdir) + perl -I$(srcdir) $< $* alphabets-inc.tex : $(DOCS) $(RM) $@ diff --git a/Build/source/utils/xindy/make-rules/alphabets/make-rules.pl b/Build/source/utils/xindy/make-rules/alphabets/make-rules.pl index ad3d7cf702b..6f8347c9ef4 100755 --- a/Build/source/utils/xindy/make-rules/alphabets/make-rules.pl +++ b/Build/source/utils/xindy/make-rules/alphabets/make-rules.pl @@ -23,8 +23,8 @@ print TESTXDY " :rule-set (\"".$prefix."resolve-case\" \"".$prefix."ignore print TESTXDY "(use-rule-set :run 3\n"; print TESTXDY " :rule-set (\"".$prefix."resolve-special\"))\n"; close TESTXDY; -my $srcdir = "."; $srcdir = $ARGV[1] if defined $ARGV[1]; -system("cat $srcdir/test.xdy >> $ARGV[0]-test.xdy"); +$fn = "test.xdy"; $fn = "$INC[0]/$fn" if ! -f $fn && -f "$INC[0]/$fn"; die "$fn: $!" if ! -f $fn; +system("cat $fn >> $ARGV[0]-test.xdy"); $begin = 128; # $begin = 97 if ($script eq "cyrillic"); |