summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/xetexdir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-03-04 11:16:34 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-03-04 11:16:34 +0000
commit44274c5c125d614b168254dc1cbe67f5db7aaa88 (patch)
tree682a24731dea8fd2f34ffdb3fd8c921122a97542 /Build/source/texk/web2c/xetexdir
parent6c97d4d28985331f4334de516193e53f639d9c69 (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/xetexdir')
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/xetexdir/am/xetex.am10
2 files changed, 10 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog
index 390e27e5c3d..53fe4bd4cb3 100644
--- a/Build/source/texk/web2c/xetexdir/ChangeLog
+++ b/Build/source/texk/web2c/xetexdir/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-04 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * am/xetex.am: Better rules for {e,xe}tex_version.h.
+
2013-02-28 Peter Breitenlohner <peb@mppmu.mpg.de>
* xetex.web: Adapt to e-TeX 2.5.
diff --git a/Build/source/texk/web2c/xetexdir/am/xetex.am b/Build/source/texk/web2c/xetexdir/am/xetex.am
index 58c88b8117c..e3ecdd3ef26 100644
--- a/Build/source/texk/web2c/xetexdir/am/xetex.am
+++ b/Build/source/texk/web2c/xetexdir/am/xetex.am
@@ -81,16 +81,18 @@ xetex-tangle: otangle$(EXEEXT) xetexdir/xetex.web xetex.ch tangle-sh
@$(xe_tangle) xetex xetex
# Extract etex version
-xetexdir/etex_version.h: xetexdir/xetex.web
- $(AM_V_at)$(MKDIR_P) xetexdir
+$(srcdir)/xetexdir/etex_version.h: xetexdir/xetex.web
+if MAINTAINER_MODE
$(AM_V_GEN)grep '^@d eTeX_version_string==' $(srcdir)/xetexdir/xetex.web \
| sed "s/^.*'-/#define ETEX_VERSION \"/;s/'.*$$/\"/" >$@
+endif MAINTAINER_MODE
## Extract xetex version
-xetexdir/xetex_version.h: xetexdir/xetex.web
- $(AM_V_at)$(MKDIR_P) xetexdir
+$(srcdir)/xetexdir/xetex_version.h: xetexdir/xetex.web
+if MAINTAINER_MODE
$(AM_V_GEN)grep '^@d XeTeX_version_string==' $(srcdir)/xetexdir/xetex.web \
| sed "s/^.*'-/#define XETEX_VERSION \"/;s/'.*$$/\"/" >$@
+endif MAINTAINER_MODE
## Generate xetex.ch
xetex.ch: tie$(EXEEXT) $(xetex_ch_srcs)