diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-19 12:37:36 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-19 12:37:36 +0000 |
commit | 4cb5cce939c23bfc8b827e055e083289dd375763 (patch) | |
tree | 25c8b0733ccb071630259f4d8dfd2a6744c20521 /Build/source/texk/web2c/pdftexdir/am | |
parent | dafc7ac20f5196fde6017209e1def77281418021 (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/am')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/am/pdftex.am | 16 |
1 files changed, 6 insertions, 10 deletions
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) |