summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-05-27 15:39:03 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-05-27 15:39:03 +0000
commitee1ed60b5391a0dcce459560ac8160e44660815b (patch)
tree1ce7a8a22456693603044c28d4dae55e335b8c87 /Build
parent290b8eb1794e8ff24f56ae9c65ec5fbc99ef9fa2 (diff)
add synctex command-line tool to the build
git-svn-id: svn://tug.org/texlive/trunk@8364 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/Makefile.in2
-rw-r--r--Build/source/texk/web2c/synctex/synctex_main.c2
2 files changed, 2 insertions, 2 deletions
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;
}