summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir
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/pdftexdir
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/pdftexdir')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog9
-rw-r--r--Build/source/texk/web2c/pdftexdir/am/pdftex.am16
-rw-r--r--Build/source/texk/web2c/pdftexdir/pdftex_version.h1
-rw-r--r--Build/source/texk/web2c/pdftexdir/pdftexextra.h4
4 files changed, 18 insertions, 12 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index 21a5aee2347..c60649ad239 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,12 @@
+2012-07-19 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * am/pdftex.am: Distribute pdftex_version.h.
+ * pdftexextra.h: Use ../etexdir/etex_version.h.
+
+2012-07-19 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * writejbig2.c: Use LONGINTEGER_PRI instead of LONGINTEGER_PRId.
+
2012-07-15 Peter Breitenlohner <peb@mppmu.mpg.de>
* ttf2afm.c: Pass program name string to kpse_set_program_name.
diff --git a/Build/source/texk/web2c/pdftexdir/am/pdftex.am b/Build/source/texk/web2c/pdftexdir/am/pdftex.am
index 87ae3829202..5257b2f2fd5 100644
--- a/Build/source/texk/web2c/pdftexdir/am/pdftex.am
+++ b/Build/source/texk/web2c/pdftexdir/am/pdftex.am
@@ -36,13 +36,12 @@ pdftex_LDADD = libpdftex.a $(pdftex_ldadd) $(LDADD) $(ipc_socketlibs)
pdftex_DEPENDENCIES = $(pdftex_dependencies) libpdftex.a
# We must create libpdftex.a etc before building the pdftex_OBJECTS.
-pdftex_prereq = libpdftex.a pdftexdir/etex_version.h pdftexdir/pdftex_version.h
+pdftex_prereq = libpdftex.a pdftexdir/pdftex_version.h
$(pdftex_OBJECTS): $(pdftex_prereq)
pdftex_c_h = pdftexini.c pdftex0.c pdftexcoerce.h pdftexd.h
-nodist_pdftex_SOURCES = $(pdftex_c_h) pdftex-pool.c \
- pdftexdir/etex_version.h pdftexdir/pdftex_version.h
-dist_pdftex_SOURCES = pdftexdir/pdftexextra.c pdftexdir/pdftexextra.h
+nodist_pdftex_SOURCES = $(pdftex_c_h) pdftex-pool.c
+dist_pdftex_SOURCES = pdftexdir/pdftexextra.c pdftexdir/pdftexextra.h pdftexdir/pdftex_version.h
$(pdftex_c_h): pdftex-web2c
@$(web2c) pdftex
pdftex-web2c: pdftex.p $(web2c_texmf) pdftexdir/pdftex.defines
@@ -53,16 +52,13 @@ 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.h: pdftexdir/pdftex.web
- $(MKDIR_P) pdftexdir
- grep '^@d eTeX_version_string==' $(srcdir)/pdftexdir/pdftex.web \
- | sed "s/^.*'-/#define ETEX_VERSION \"/;s/'.*$$/\"/" >$@
+
# Extract pdftex version
-pdftexdir/pdftex_version.h: pdftexdir/pdftex.web
+pdftexdir/pdftex_version.h: pdftexdir/pdftex.web etexdir/etex_version.h
$(MKDIR_P) pdftexdir
grep '^@d pdftex_version_string==' $(srcdir)/pdftexdir/pdftex.web \
| sed "s/^.*'-/#define PDFTEX_VERSION \"/;s/'.*$$/\"/" >$@
+
# Generate pdftex.ch
pdftex.ch: tie$(EXEEXT) $(pdftex_ch_srcs)
$(tie) -c pdftex.ch $(pdftex_ch_srcs)
diff --git a/Build/source/texk/web2c/pdftexdir/pdftex_version.h b/Build/source/texk/web2c/pdftexdir/pdftex_version.h
new file mode 100644
index 00000000000..d29f4b295eb
--- /dev/null
+++ b/Build/source/texk/web2c/pdftexdir/pdftex_version.h
@@ -0,0 +1 @@
+#define PDFTEX_VERSION "1.40.13"
diff --git a/Build/source/texk/web2c/pdftexdir/pdftexextra.h b/Build/source/texk/web2c/pdftexdir/pdftexextra.h
index 95635acc46d..7071b148123 100644
--- a/Build/source/texk/web2c/pdftexdir/pdftexextra.h
+++ b/Build/source/texk/web2c/pdftexdir/pdftexextra.h
@@ -1,5 +1,5 @@
/*
-Copyright 1996-2011 Han The Thanh, <thanh@pdftex.org>
+Copyright 1996-2012 Han The Thanh, <thanh@pdftex.org>
This file is part of pdfTeX.
@@ -23,7 +23,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <pdftexdir/pdftex_version.h> /* for PDFTEX_VERSION */
-#include <pdftexdir/etex_version.h> /* for ETEX_VERSION */
+#include <etexdir/etex_version.h> /* for ETEX_VERSION */
#define BANNER "This is pdfTeX, Version 3.1415926-" ETEX_VERSION "-" PDFTEX_VERSION
#define COPYRIGHT_HOLDER "Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX)"