summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/eptexdir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-19 12:37:36 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-19 12:37:36 +0000
commit4cb5cce939c23bfc8b827e055e083289dd375763 (patch)
tree25c8b0733ccb071630259f4d8dfd2a6744c20521 /Build/source/texk/web2c/eptexdir
parentdafc7ac20f5196fde6017209e1def77281418021 (diff)
*TeX: Distribute the *texdir/*tex_version.h files
git-svn-id: svn://tug.org/texlive/trunk@27087 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/eptexdir')
-rw-r--r--Build/source/texk/web2c/eptexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/eptexdir/am/eptex.am24
-rw-r--r--Build/source/texk/web2c/eptexdir/eptex_version.h1
-rw-r--r--Build/source/texk/web2c/eptexdir/eptexextra.h4
4 files changed, 14 insertions, 20 deletions
diff --git a/Build/source/texk/web2c/eptexdir/ChangeLog b/Build/source/texk/web2c/eptexdir/ChangeLog
index e910461da6f..b60c268c1ac 100644
--- a/Build/source/texk/web2c/eptexdir/ChangeLog
+++ b/Build/source/texk/web2c/eptexdir/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-19 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * am/eptex.am: Distribute eptex_version.h.
+ * eptexextra.h: Use ../[ep]texdir/[ep]tex_version.h.
+
2012-07-15 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* eptexextra.c: Must #define DLLPROC before reading eptexd.h.
diff --git a/Build/source/texk/web2c/eptexdir/am/eptex.am b/Build/source/texk/web2c/eptexdir/am/eptex.am
index faa67bd22fa..efd5c9826f9 100644
--- a/Build/source/texk/web2c/eptexdir/am/eptex.am
+++ b/Build/source/texk/web2c/eptexdir/am/eptex.am
@@ -1,6 +1,6 @@
## texk/web2c/eptexdir/am/eptex.am: Makefile fragment for e-pTeX.
##
-## Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org>
+## Copyright (C) 2011, 2012 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
## e-pTeX
@@ -24,11 +24,11 @@ eptex_DEPENDENCIES = libkanji.a $(pproglib) $(PTEXENC_DEPEND) $(default_dependen
# e-pTeX C sources
eptex_c_h = eptexini.c eptex0.c eptexcoerce.h eptexd.h
-nodist_eptex_SOURCES = $(eptex_c_h) eptex-pool.c eptexdir/etex_version.h eptexdir/eptex_version.h eptexdir/ptex_version.h
-dist_eptex_SOURCES = eptexdir/eptexextra.c eptexdir/eptexextra.h
+nodist_eptex_SOURCES = $(eptex_c_h) eptex-pool.c
+dist_eptex_SOURCES = eptexdir/eptexextra.c eptexdir/eptexextra.h eptexdir/eptex_version.h
-# We must create eptexd.h and eptexdir/[ep]tex_version.h before building the eptex_OBJECTS.
-eptex_prereq = eptexd.h eptexdir/etex_version.h eptexdir/eptex_version.h eptexdir/ptex_version.h
+# We must create eptexd.h and eptexdir/eptex_version.h before building the eptex_OBJECTS.
+eptex_prereq = eptexd.h eptexdir/eptex_version.h
$(eptex_OBJECTS): $(eptex_prereq)
$(eptex_c_h): eptex-web2c
@@ -45,24 +45,12 @@ eptex.p eptex.pool: eptex-tangle
eptex-tangle: tangle$(EXEEXT) eptex.web eptex.ch tangle-sh
@$(texmf_tangle) eptex eptex
-# Extract etex version
-eptexdir/etex_version.h: etexdir/etex.ch
- $(MKDIR_P) eptexdir
- grep '^@d eTeX_version_string==' $(srcdir)/etexdir/etex.ch \
- | sed "s/^.*'-/#define ETEX_VERSION \"/;s/'.*$$/\"/" >$@
-
# Extract eptex version
-eptexdir/eptex_version.h: eptexdir/eptex.ech
+eptexdir/eptex_version.h: eptexdir/eptex.ech etexdir/etex_version.h ptexdir/ptex_version.h
$(MKDIR_P) eptexdir
grep '^@d epTeX_version_string==' $(srcdir)/eptexdir/eptex.ech \
| sed "s/^.*'-/#define EPTEX_VERSION \"/;s/'.*$$/\"/" >$@
-# Extract ptex version
-eptexdir/ptex_version.h: ptexdir/ptex-base.ch
- $(MKDIR_P) eptexdir
- grep '^@d pTeX_version_string==' $(srcdir)/ptexdir/ptex-base.ch \
- | sed "s/^.*'-/#define PTEX_VERSION \"/;s/'.*$$/\"/" >$@
-
# Generate eptex.web
eptex.web: tie$(EXEEXT) $(eptex_web_srcs)
$(tie) -m eptex.web $(eptex_web_srcs)
diff --git a/Build/source/texk/web2c/eptexdir/eptex_version.h b/Build/source/texk/web2c/eptexdir/eptex_version.h
new file mode 100644
index 00000000000..035875f90eb
--- /dev/null
+++ b/Build/source/texk/web2c/eptexdir/eptex_version.h
@@ -0,0 +1 @@
+#define EPTEX_VERSION "110825"
diff --git a/Build/source/texk/web2c/eptexdir/eptexextra.h b/Build/source/texk/web2c/eptexdir/eptexextra.h
index e232e433d57..6b2b66d9993 100644
--- a/Build/source/texk/web2c/eptexdir/eptexextra.h
+++ b/Build/source/texk/web2c/eptexdir/eptexextra.h
@@ -3,9 +3,9 @@
This is included by e-pTeX, from eptexextra.c
*/
-#include <eptexdir/etex_version.h> /* for ETEX_VERSION */
+#include <etexdir/etex_version.h> /* for ETEX_VERSION */
#include <eptexdir/eptex_version.h> /* for EPTEX_VERSION */
-#include <eptexdir/ptex_version.h> /* for PTEX_VERSION */
+#include <ptexdir/ptex_version.h> /* for PTEX_VERSION */
#define BANNER "This is e-pTeX, Version 3.1415926-" PTEX_VERSION "-" EPTEX_VERSION "-" ETEX_VERSION
#define COPYRIGHT_HOLDER "D.E. Knuth"