diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-02-24 17:02:43 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-02-24 17:02:43 +0000 |
commit | 91e3606954f8c78c1733b2bf2a8e2a52e897a743 (patch) | |
tree | b32cd721f772b257de42f3509979c94f9940926c /Build/source/texk/dvipng/help | |
parent | 279a3efa74f8b66c4a46e679bc9d2c2e9cd44a39 (diff) |
MinGW build for dvipng
git-svn-id: svn://tug.org/texlive/trunk@17184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipng/help')
-rw-r--r-- | Build/source/texk/dvipng/help/Makefile.am | 10 | ||||
-rw-r--r-- | Build/source/texk/dvipng/help/Makefile.in | 16 |
2 files changed, 16 insertions, 10 deletions
diff --git a/Build/source/texk/dvipng/help/Makefile.am b/Build/source/texk/dvipng/help/Makefile.am index f9291eeae98..dd86b4717d1 100644 --- a/Build/source/texk/dvipng/help/Makefile.am +++ b/Build/source/texk/dvipng/help/Makefile.am @@ -1,6 +1,6 @@ ## Makefile.am for the TeX Live subdirectory texk/dvipng/help/ ## -## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> +## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org> ## You may freely use, modify and/or distribute this file. ## DVIPNG_HELP = $(top_srcdir)/doc/dvipng.help @@ -13,13 +13,17 @@ all-local: help-stamp $(DVIPNG_HELP) $(DVIPNG_HELP): $(MAKE) $(AM_MAKEFLAGS) help-stamp help-stamp: ../dvipng$(EXEEXT) - -(cd .. && ./dvipng) | \ - sed -e's/ (dvipng) / /' -e's,/lt-dvipng ,/dvipng ,' \ +if !cross + -(cd .. && ./dvipng$(EXEEXT)) | \ + sed -e's/dvipng.exe/dvipng' \ + -e's/ (dvipng) / /' \ + -e's,/lt-dvipng ,/dvipng ,' \ -e's,^This is .*/dvipng ,This is ./dvipng ,' \ -e's,^Usage: .*/dvipng ,Usage: ./dvipng ,' > dvipng.tmp ( test -r $(DVIPNG_HELP) && diff dvipng.tmp $(DVIPNG_HELP) ) \ || cp dvipng.tmp $(DVIPNG_HELP) rm -f dvipng.tmp +endif !cross echo timestamp >$@ DISTCLEANFILES = help-stamp diff --git a/Build/source/texk/dvipng/help/Makefile.in b/Build/source/texk/dvipng/help/Makefile.in index 7f603a60fae..4202e81d543 100644 --- a/Build/source/texk/dvipng/help/Makefile.in +++ b/Build/source/texk/dvipng/help/Makefile.in @@ -398,13 +398,15 @@ all-local: help-stamp $(DVIPNG_HELP) $(DVIPNG_HELP): $(MAKE) $(AM_MAKEFLAGS) help-stamp help-stamp: ../dvipng$(EXEEXT) - -(cd .. && ./dvipng) | \ - sed -e's/ (dvipng) / /' -e's,/lt-dvipng ,/dvipng ,' \ - -e's,^This is .*/dvipng ,This is ./dvipng ,' \ - -e's,^Usage: .*/dvipng ,Usage: ./dvipng ,' > dvipng.tmp - ( test -r $(DVIPNG_HELP) && diff dvipng.tmp $(DVIPNG_HELP) ) \ - || cp dvipng.tmp $(DVIPNG_HELP) - rm -f dvipng.tmp +@cross_FALSE@ -(cd .. && ./dvipng$(EXEEXT)) | \ +@cross_FALSE@ sed -e's/dvipng.exe/dvipng' \ +@cross_FALSE@ -e's/ (dvipng) / /' \ +@cross_FALSE@ -e's,/lt-dvipng ,/dvipng ,' \ +@cross_FALSE@ -e's,^This is .*/dvipng ,This is ./dvipng ,' \ +@cross_FALSE@ -e's,^Usage: .*/dvipng ,Usage: ./dvipng ,' > dvipng.tmp +@cross_FALSE@ ( test -r $(DVIPNG_HELP) && diff dvipng.tmp $(DVIPNG_HELP) ) \ +@cross_FALSE@ || cp dvipng.tmp $(DVIPNG_HELP) +@cross_FALSE@ rm -f dvipng.tmp echo timestamp >$@ # Tell versions [3.59,3.63) of GNU make to not export all variables. |