summaryrefslogtreecommitdiff
path: root/Build/source/utils
AgeCommit message (Collapse)Author
2008-04-06autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7337 c570f23f-e606-0410-a88d-b1316a301751
2008-04-06configure.ac:Vladimir Volovich
CLISP_LIB can potentially end with a backslash (on mingw), which is treated as a line merging character in Makefile, so add _AM_SUBST_NOTMAKE(CLISP_LIB) to avoid such situation, and instead refer to CLISP_LIB as @CLISP_LIB@ configure.ac, rte/Makefile.am, binaries/Makefile.am: on mingw, lisp.run is called lisp.exe on mingw, we need to use .exe suffix for the backend binary (which is called xindy.run on POSIX systems), so to avoid a clash with the frontend user command "xindy", use the name "xindy-lisp.exe" on mingw which is a counterpart of "xindy.run" on POSIX. binaries/Makefile.am: renamed XINDY_RUN to RUN_XINDY to not clash with the newly introduced XINDY_RUN and LISP_RUN variables added -norc to RUN_XINDY git-svn-id: svn://tug.org/texlive/trunk@7336 c570f23f-e606-0410-a88d-b1316a301751
2008-04-06rte/ordrules/ordrules.h:Vladimir Volovich
add #include "clisp.h", otherwise the regcomp, regerror and regexec functions will not get redefined to rpl_* equivalents on systems which lack regexp in system library (notably, mingw), and there will be link errors like ordrules.o: In function `add_rule': C:/msys/1.0/src/xindy/rte/ordrules/ordrules.c:219: undefined reference to `regcomp' C:/msys/1.0/src/xindy/rte/ordrules/ordrules.c:220: undefined reference to `regerror' ordrules.o: In function `apply_rules': C:/msys/1.0/src/xindy/rte/ordrules/ordrules.c:491: undefined reference to `regexec' C:/msys/1.0/src/xindy/rte/ordrules/ordrules.c:456: undefined reference to `regexec' even when linked with the clisp's full/regex.o (because the latter has these functions renamed with rpl_ prefix). rte/ordrules/Makefile.am: added -I$(INCLUDES) for ordrules.c rule, to find clisp.h added $(CPPFLAGS) to rules for ordrulei.o, ordrules.o, rxsub.o (e.g. to be able to pass include directory for regexp.h on mingw) git-svn-id: svn://tug.org/texlive/trunk@7335 c570f23f-e606-0410-a88d-b1316a301751
2008-03-31mkjobtexmf (mostly) handled through normal ctan2tl nowKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@7263 c570f23f-e606-0410-a88d-b1316a301751
2008-03-29rte/ordrules/Makefile.am: moved version.lisp from CLEANFILES to DISTCLEANFILES,Vladimir Volovich
otherwise rebuild was failing after "make clean" rte/Makefile.am: changed to not rebuild ordrules (and xindy.run, base.mem) on every "make" run if it is already built git-svn-id: svn://tug.org/texlive/trunk@7222 c570f23f-e606-0410-a88d-b1316a301751
2008-03-29autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7218 c570f23f-e606-0410-a88d-b1316a301751
2008-03-29added generation of greek/translit-tex.xdy and russian/translit-iso-tex.xdyVladimir Volovich
(and accompanying -lang.xdy and -test.xdy files), from Thomas Henlish: https://sourceforge.net/mailarchive/message.php?msg_name=47EDFB0F.7030502%40users.sourceforge.net git-svn-id: svn://tug.org/texlive/trunk@7217 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7204 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28delete the rest of the zombie (test leftover) *.xdy files:Vladimir Volovich
https://sourceforge.net/mailarchive/message.php?msg_name=47ED24A4.2000506%40users.sourceforge.net git-svn-id: svn://tug.org/texlive/trunk@7203 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7202 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28removed danish/latin1.xdy, icelandic/latin1.xd, swedish/latin1.xdy, ↵Vladimir Volovich
general/latin1.xdy https://sourceforge.net/mailarchive/message.php?msg_name=47ED24A4.2000506%40users.sourceforge.net added a patch from Thomas Henlich to fix their automatic generation https://sourceforge.net/mailarchive/message.php?msg_name=47ED3371.9080102%40users.sourceforge.net adapted Makefiles accordingly git-svn-id: svn://tug.org/texlive/trunk@7201 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28rte/Makefile.am: cleanup (and improve behaviour for subsequent builds if ↵Vladimir Volovich
building ordrules failed) git-svn-id: svn://tug.org/texlive/trunk@7199 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7198 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28rte/Makefile.am, configure.ac: removed support for building clispVladimir Volovich
from source integrated into xindy distribution. the --with-clisp option provides a more powerful way of using any clisp, either an OS-supplied, or built from source with any desired configuration (e.g. with statically linked libsigsegv and libffcall, without readline and/or ncurses, etc; this was not possible with integrated clisp build) also made some wording improvements in configure.ac git-svn-id: svn://tug.org/texlive/trunk@7197 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28tex2xindy/Makefile.am: put a commented-out lineVladimir Volovich
#tex2xindy_LDADD = @LEXLIB@ in case we'll need to use LEXLIB git-svn-id: svn://tug.org/texlive/trunk@7193 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28tex2xindy/Makefile.am: removed tex2xindy_LDADD = @LEXLIB@Vladimir Volovich
because tex2xindy.c has its own yywrap() and is not dependent on libl.a anymore git-svn-id: svn://tug.org/texlive/trunk@7192 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28tex2xindy/tex2xindy.l: added theVladimir Volovich
int yywrap (void) {return 1;} to avoid dependency on libl.a (-ll) tex2xindy/tex2xindy.c: regenerated git-svn-id: svn://tug.org/texlive/trunk@7191 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27rte/Makefile.am: fix the clean-local target to not fail for in-tree buildVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7190 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27tex2xindy/Makefile.am: removed special treatment of tex2xindy.c, as it is ↵Vladimir Volovich
done by automake git-svn-id: svn://tug.org/texlive/trunk@7189 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27configure.ac: changed AC_PROG_LEX to AM_PROG_LEX, as recommended by the ↵Vladimir Volovich
automake manual (section 8.8, Yacc and Lex support) this uses the "missing" script if lex is not found. added the pre-generated tex2xindy.c to the distribution. git-svn-id: svn://tug.org/texlive/trunk@7188 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27changed svn:executable propertyVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7187 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27add README.distrib-source and README.distrib-binary to EXTRA_DIST,Vladimir Volovich
for "make distcheck" to work git-svn-id: svn://tug.org/texlive/trunk@7180 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27rename README to README.distrib-sourceVladimir Volovich
add README.distrib-binary from xindy's sourceforge CVS tree install NEWS and README.distrib-source in the docdir git-svn-id: svn://tug.org/texlive/trunk@7179 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27TETEX_BUILD: override mandir to $prefix/texmf/doc/manVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7177 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27show an error message if an old calling convention is detected,Vladimir Volovich
i.e. if there are command-line 2 arguments and the 1st one is a *.xdy file. in this case older version of xindy script was calling xindy.v2, which has been deprecated and not installed anymore. therefore, we cannot call xindy.v2, but should show an error message, otherwise this may confuse users who were relying on this behavior of silent call to xindy.v2 from xindy git-svn-id: svn://tug.org/texlive/trunk@7176 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7175 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27make "make dist" and "make distcheck" work:Vladimir Volovich
configure.ac: removed no-dist option from AM_INIT_AUTOMAKE src/Makefile.am: new file rte/ordrules/Makefile.am: new file, based on old Makefile.in (rte/ordrules directory previously did not use automake) other Makefile.am files - various cleanups to make "make distcheck" work git-svn-id: svn://tug.org/texlive/trunk@7174 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27rte/ordrules/link.sh: use ${MAKE-make} instead of make, in case user's make ↵Vladimir Volovich
program is not called "make" git-svn-id: svn://tug.org/texlive/trunk@7173 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26make-rules/inputenc/Makefile.am:Vladimir Volovich
when generating latin.xdy: * show full list of source files, rather than latin?.xdy * do not show timestamp when the file was generated, as it is useless here * clear environment when calling sort, to make the generated latin.xdy locale-indepemdent git-svn-id: svn://tug.org/texlive/trunk@7170 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26make-rules/inputenc/Makefile.am:Vladimir Volovich
change "sort -u latin?.xdy" to "env - sort -u latin?.xdy" to avoid dependency on locale in the generated file. git-svn-id: svn://tug.org/texlive/trunk@7169 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26configure.ac:Vladimir Volovich
removed AC_CHECK_LIB([fl], [main]) because a check for flex library is already performed by AC_PROG_LEX git-svn-id: svn://tug.org/texlive/trunk@7168 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26move the test for "LEX is not found" right after AC_PROG_LEXVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7167 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26stop if LEX (flex or lex) is not found during configureVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7166 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26renamed xindy.v2.in to xindy.v2, and change #!/usr/bin/perl to ↵Vladimir Volovich
#!/usr/bin/env perl (the only change which was being made to xindy.v2.in to get xindy.v2 was perl path) changed user-commands/Makefile.am to not install xindy.v2 (from Joachim) removed kludge from xindy to call xindy.v2 if an old calling convention is used git-svn-id: svn://tug.org/texlive/trunk@7164 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26configure.ac: rearranged code to allow TETEX_BUILD override the defaults for ↵Vladimir Volovich
enable_make_rules and enable_docs git-svn-id: svn://tug.org/texlive/trunk@7163 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26TETEX_BUILD: "rm -f" the symlinks in $bindir before installing them,Vladimir Volovich
to prevent an error if "make install" is called twice git-svn-id: svn://tug.org/texlive/trunk@7162 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26TETEX_BUILD:Vladimir Volovich
disable docs and make-rules by default, unless explicitly enabled via --enable-docs and --enable-make-rules configure options. This is to not require a working latex (and pdflatex) when building TeX Live. git-svn-id: svn://tug.org/texlive/trunk@7161 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25simplified the way make-rules.pl finds out where to search for test.xdyVladimir Volovich
(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
2008-03-25removed perl scripts which are generated during make-rules build.Vladimir Volovich
verified that these removed files are exactly the same as the ones which are generated. git-svn-id: svn://tug.org/texlive/trunk@7156 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25typo fixVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7152 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25changed ISO8859-1 to ISO-8859-1 etc in a few places which call iconv,Vladimir Volovich
for consistency with other places. git-svn-id: svn://tug.org/texlive/trunk@7151 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25bugfix in make-rules:Vladimir Volovich
%latin5.pl : %utf8.pl.in sed -e 's/@u{\([^}]*\)}//g;' <$< | \ - iconv -f UTF-8 -t ISO8859-5 >$@ + iconv -f UTF-8 -t ISO-8859-9 >$@ latin5 is not ISO-8859-5 (which is a cyrillic encoding) but ISO-8859-9, so this make rule was failing with invalid characters. it was noticed after a change from "/usr/bin/perl" to "/usr/bin/env perl" which touched the timestamps so the script got regenerated. git-svn-id: svn://tug.org/texlive/trunk@7150 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25from Karl: globally changeVladimir Volovich
#!/usr/bin/perl to #!/usr/bin/env perl which is more portable git-svn-id: svn://tug.org/texlive/trunk@7149 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25mention ffcall source in clisp-2.43 tarball, which is apparently more recent ↵Vladimir Volovich
than ffcall-1.10 git-svn-id: svn://tug.org/texlive/trunk@7148 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25TETEX_BUILD: added a missing $(MKDIR_P) "$(prefix)/texmf/scripts/xindy"Vladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7146 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7145 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25for TETEX_BUILD:Vladimir Volovich
from Karl: instead of putting wrapper scripts (xindy and texindy) and *.xdy modules under texmf/scripts/xindy, adjust things so that the actual scripts (xindy and texindy) are in texmf/scripts/xindy, but everything else (*.xdy modules) is just in texmf/xindy. git-svn-id: svn://tug.org/texlive/trunk@7144 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25tex2xindy/Makefile.am, doc/Makefile.am, user-commands/Makefile.am:Vladimir Volovich
since we've put rules for manpage and PDF docs regeneration inside MAINTAINER_MODE, do not ignore make errors if pod2man or groff is not available (reverting previous change which was ignoring errors) user-commands/Makefile.am: if TETEX_BUILD, install perl wrapper scripts (xindy xindy.v2 texindy) under $(prefix)/texmf/scripts/xindy/ using the .pl suffix (added the suffix). git-svn-id: svn://tug.org/texlive/trunk@7143 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7139 c570f23f-e606-0410-a88d-b1316a301751
2008-03-25added the AM_MAINTAINER_MODE to configure.ac and put the rules for manpages ↵Vladimir Volovich
and PDF docs regeneration under "if MAINTAINER_MODE" conditional, to avoid rebuilding them in normal builds git-svn-id: svn://tug.org/texlive/trunk@7138 c570f23f-e606-0410-a88d-b1316a301751