diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-14 08:11:36 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-14 08:11:36 +0000 |
commit | 892ae1fb345dfa7ebd8586a09d09c4cef9d14464 (patch) | |
tree | 2aea08dfead80ae858cd4d0820fe7f5e7a95f68f /Build/source/texk/web2c/synctexdir/am/synctex.am | |
parent | e0c501f1febdbcf137206eb894009f605b928630 (diff) |
use CPPFLAGS instead of sed-substituted source files
git-svn-id: svn://tug.org/texlive/trunk@21711 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/am/synctex.am')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/am/synctex.am | 36 |
1 files changed, 8 insertions, 28 deletions
diff --git a/Build/source/texk/web2c/synctexdir/am/synctex.am b/Build/source/texk/web2c/synctexdir/am/synctex.am index 136ee1c4fd6..e548006f921 100644 --- a/Build/source/texk/web2c/synctexdir/am/synctex.am +++ b/Build/source/texk/web2c/synctexdir/am/synctex.am @@ -57,20 +57,15 @@ tex_ch_synctex = \ synctexdir/synctex-rec.ch2 dist_tex_SOURCES += \ + synctexdir/synctex.c \ synctexdir/synctex.h \ synctexdir/synctex-common.h \ synctexdir/synctex-tex.h -nodist_tex_SOURCES += \ - synctex.c - -tex_CPPFLAGS += -D__SyncTeX__ +tex_CPPFLAGS += -D__SyncTeX__ -DSYNCTEX_ENGINE_H=\"synctex-tex.h\" endif TEX_SYNCTEX -synctex.c: texd.h synctexdir/synctex.c $(dist_tex_SOURCES) - sed s/TEX-OR-MF-OR-MP/tex/ $(srcdir)/synctexdir/synctex.c >$@ - EXTRA_DIST += \ synctexdir/synctex-mem.ch0 \ synctexdir/synctex-mem.ch1 \ @@ -99,20 +94,15 @@ etex_ch_synctex = \ synctexdir/synctex-e-rec.ch1 dist_etex_SOURCES += \ + synctexdir/synctex.c \ synctexdir/synctex.h \ synctexdir/synctex-common.h \ synctexdir/synctex-etex.h -nodist_etex_SOURCES += \ - synctex-e.c - -etex_CPPFLAGS += -D__SyncTeX__ +etex_CPPFLAGS += -D__SyncTeX__ -DSYNCTEX_ENGINE_H=\"synctex-etex.h\" endif ETEX_SYNCTEX -synctex-e.c: etexd.h synctexdir/synctex.c $(dist_etex_SOURCES) - sed s/TEX-OR-MF-OR-MP/etex/ $(srcdir)/synctexdir/synctex.c >$@ - EXTRA_DIST += \ synctexdir/synctex-e-mem.ch0 \ synctexdir/synctex-e-mem.ch1 \ @@ -137,20 +127,15 @@ pdftex_ch_synctex = \ synctexdir/synctex-pdf-rec.ch2 dist_pdftex_SOURCES += \ + synctexdir/synctex.c \ synctexdir/synctex.h \ synctexdir/synctex-common.h \ synctexdir/synctex-pdftex.h -nodist_pdftex_SOURCES += \ - synctex-pdf.c - -pdftex_CPPFLAGS += -D__SyncTeX__ +pdftex_CPPFLAGS += -D__SyncTeX__ -DSYNCTEX_ENGINE_H=\"synctex-pdftex.h\" endif PDFTEX_SYNCTEX -synctex-pdf.c: pdftexd.h synctexdir/synctex.c $(dist_pdftex_SOURCES) - sed s/TEX-OR-MF-OR-MP/pdftex/ $(srcdir)/synctexdir/synctex.c >$@ - EXTRA_DIST += \ synctexdir/synctex-pdf-rec.ch2 @@ -173,20 +158,15 @@ xetex_post_ch_synctex = \ synctexdir/synctex-xe-rec.ch3 dist_xetex_SOURCES += \ + synctexdir/synctex.c \ synctexdir/synctex.h \ synctexdir/synctex-common.h \ synctexdir/synctex-xetex.h -nodist_xetex_SOURCES += \ - synctex-xe.c - -xetex_CPPFLAGS += -D__SyncTeX__ +xetex_CPPFLAGS += -D__SyncTeX__ -DSYNCTEX_ENGINE_H=\"synctex-xetex.h\" endif XETEX_SYNCTEX -synctex-xe.c: xetexd.h synctexdir/synctex.c $(dist_xetex_SOURCES) - sed s/TEX-OR-MF-OR-MP/xetex/ $(srcdir)/synctexdir/synctex.c >$@ - EXTRA_DIST += \ synctexdir/synctex-xe-mem.ch2 \ synctexdir/synctex-xe-rec.ch2 \ |