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/pdftexdir/am | |
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/pdftexdir/am')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/am/pdftex.am | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/am/pdftex.am b/Build/source/texk/web2c/pdftexdir/am/pdftex.am index 267d3f905db..b2359cf5f10 100644 --- a/Build/source/texk/web2c/pdftexdir/am/pdftex.am +++ b/Build/source/texk/web2c/pdftexdir/am/pdftex.am @@ -52,16 +52,18 @@ pdftex-pool.c: pdftex.pool pdftexd.h $(makecpool_stamp) $(makecpool) pdftex >$@ || rm -f $@ # Extract pdftex version -pdftexdir/pdftex_version.h: pdftexdir/pdftex.web - $(AM_V_at)$(MKDIR_P) pdftexdir +$(srcdir)/pdftexdir/pdftex_version.h: pdftexdir/pdftex.web +if MAINTAINER_MODE $(AM_V_GEN)grep '^@d pdftex_version_string==' $(srcdir)/pdftexdir/pdftex.web \ | sed "s/^.*'-/#define PDFTEX_VERSION \"/;s/'.*$$/\"/" >$@ +endif MAINTAINER_MODE # Extract etex version -pdftexdir/etex_version.h: pdftexdir/pdftex.web - $(AM_V_at)$(MKDIR_P) pdftexdir +$(srcdir)/pdftexdir/etex_version.h: pdftexdir/pdftex.web +if MAINTAINER_MODE $(AM_V_GEN)grep '^@d eTeX_version_string==' $(srcdir)/pdftexdir/pdftex.web \ | sed "s/^.*'-/#define ETEX_VERSION \"/;s/'.*$$/\"/" >$@ +endif MAINTAINER_MODE # Generate pdftex.ch pdftex.ch: tie$(EXEEXT) $(pdftex_ch_srcs) |