diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-04-23 08:44:57 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-04-23 08:44:57 +0000 |
commit | 6c83b2609bba73ed2fb8bf4e11eee8522ff173bb (patch) | |
tree | 42b49d2fd731d024dd723e750d2fe3b5db0d8d17 /Build/source/texk/web2c/pdftexdir/am | |
parent | 4e413d1cf45e3573d4eff85693ef8d59ea9a2fac (diff) |
build system
git-svn-id: svn://tug.org/texlive/trunk@17972 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/am')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/am/pdftex.am | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/am/pdftex.am b/Build/source/texk/web2c/pdftexdir/am/pdftex.am index 6c1e87788c8..ea9fd9601d4 100644 --- a/Build/source/texk/web2c/pdftexdir/am/pdftex.am +++ b/Build/source/texk/web2c/pdftexdir/am/pdftex.am @@ -53,12 +53,17 @@ pdftex-tangle: tangle$(EXEEXT) pdftexdir/pdftex.web pdftex.ch tangle-sh @$(pdf_tangle) pdftex pdftex pdftex-pool.c: pdftex.pool pdftexd.h $(makecpool_stamp) $(makecpool) pdftex >$@ || rm -f $@ +# Extract etex version +pdftexdir/etex.version: etexdir/etex.ch + $(MKDIR_P) pdftexdir + grep '^@d eTeX_version_string==' $(srcdir)/etexdir/etex.ch \ + | sed "s/^.*'-//;s/'.*$$//" >$@ # Extract pdftex version pdftexdir/pdftex.version: pdftexdir/pdftex.web $(MKDIR_P) pdftexdir grep '^@d pdftex_version_string==' $(srcdir)/pdftexdir/pdftex.web \ | sed "s/^.*'-//;s/'.*$$//" >pdftexdir/pdftex.version -pdftexdir/pdftexextra.h: pdftexdir/pdftexextra.in pdftexdir/pdftex.version etexdir/etex.version +pdftexdir/pdftexextra.h: pdftexdir/pdftexextra.in pdftexdir/pdftex.version pdftexdir/etex.version sed -e s/PDFTEX-VERSION/`cat pdftexdir/pdftex.version`/ \ -e s/ETEX-VERSION/`cat etexdir/etex.version`/ \ $(srcdir)/pdftexdir/pdftexextra.in >$@ @@ -72,11 +77,11 @@ pdftex_ch_srcs = \ $(pdftex_ch_synctex) \ pdftexdir/pdftex.ch ## -EXTRA_DIST += $(pdftex_ch_srcs) \ +EXTRA_DIST += $(pdftex_ch_srcs) etexdir/etex.ch \ pdftexdir/pdftex.defines pdftexdir/pdftex.h pdftexdir/pdftexextra.in DISTCLEANFILES += $(nodist_pdftex_SOURCES) pdftex.ch pdftex-web2c \ - pdftex.p pdftex.pool pdftex-tangle pdftexdir/pdftex.version + pdftex.p pdftex.pool pdftex-tangle pdftexdir/pdftex.version pdftexdir/etex.version EXTRA_DIST += \ pdftexdir/ChangeLog \ |