diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-03-04 11:16:34 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-03-04 11:16:34 +0000 |
commit | 44274c5c125d614b168254dc1cbe67f5db7aaa88 (patch) | |
tree | 682a24731dea8fd2f34ffdb3fd8c921122a97542 /Build/source/texk/web2c/eptexdir | |
parent | 6c97d4d28985331f4334de516193e53f639d9c69 (diff) |
texk/web2c: Better rules for *tex_version.h
git-svn-id: svn://tug.org/texlive/trunk@29286 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/eptexdir')
-rw-r--r-- | Build/source/texk/web2c/eptexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/eptexdir/am/eptex.am | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/eptexdir/ChangeLog b/Build/source/texk/web2c/eptexdir/ChangeLog index 5771b64eda2..91bf86f73e1 100644 --- a/Build/source/texk/web2c/eptexdir/ChangeLog +++ b/Build/source/texk/web2c/eptexdir/ChangeLog @@ -1,3 +1,7 @@ +2013-03-04 Peter Breitenlohner <peb@mppmu.mpg.de> + + * am/eptex.am: Better rule for eptex_version.h. + 2013-03-01 Peter Breitenlohner <peb@mppmu.mpg.de> * eptex.ech: e-TeX Version 2.6. diff --git a/Build/source/texk/web2c/eptexdir/am/eptex.am b/Build/source/texk/web2c/eptexdir/am/eptex.am index cc587e86d06..bf0757db3fd 100644 --- a/Build/source/texk/web2c/eptexdir/am/eptex.am +++ b/Build/source/texk/web2c/eptexdir/am/eptex.am @@ -46,10 +46,11 @@ eptex-tangle: tangle$(EXEEXT) eptex.web eptex.ch tangle-sh @$(texmf_tangle) eptex eptex # Extract eptex version -eptexdir/eptex_version.h: eptexdir/eptex.ech - $(AM_V_at)$(MKDIR_P) eptexdir +$(srcdir)/eptexdir/eptex_version.h: eptexdir/eptex.ech +if MAINTAINER_MODE $(AM_V_GEN)grep '^@d epTeX_version_string==' $(srcdir)/eptexdir/eptex.ech \ | sed "s/^.*'-/#define EPTEX_VERSION \"/;s/'.*$$/\"/" >$@ +endif MAINTAINER_MODE # Generate eptex.web eptex.web: tie$(EXEEXT) $(eptex_web_srcs) |