From ee1ed60b5391a0dcce459560ac8160e44660815b Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Tue, 27 May 2008 15:39:03 +0000 Subject: add synctex command-line tool to the build git-svn-id: svn://tug.org/texlive/trunk@8364 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/Makefile.in | 2 +- Build/source/texk/web2c/synctex/synctex_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Build/source') diff --git a/Build/source/texk/web2c/Makefile.in b/Build/source/texk/web2c/Makefile.in index 44b27c6b3f5..3e97d278405 100644 --- a/Build/source/texk/web2c/Makefile.in +++ b/Build/source/texk/web2c/Makefile.in @@ -596,7 +596,7 @@ kpse_include luatexdir/luatex.mk # non-engine programs. programs = bibtex ctangle ctie cweave dvicopy dvitomp dvitype gftodvi gftopk \ gftype mft $(odvicopy) $(odvitype) $(otangle) patgen $(pdftosrc) \ - pktogf pktype pltotf pooltype tangle tftopl tie $(ttf2afm) \ + pktogf pktype pltotf pooltype synctex tangle tftopl tie $(ttf2afm) \ vftovp vptovf weave # include $(metapost) from metapost.mk even though it also includes diff --git a/Build/source/texk/web2c/synctex/synctex_main.c b/Build/source/texk/web2c/synctex/synctex_main.c index 9922f28543b..b04b612fa4a 100644 --- a/Build/source/texk/web2c/synctex/synctex_main.c +++ b/Build/source/texk/web2c/synctex/synctex_main.c @@ -281,7 +281,7 @@ proceed: #endif /* We assume that viewer is not so big: */ # define SYNCTEX_STR_SIZE 65536 - if(strlen(viewer)>=65536) { + if(viewer && strlen(viewer)>=65536) { synctex_help_view("Viewer command is too long"); return -1; } -- cgit v1.2.3