summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/help
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipng/help')
-rw-r--r--Build/source/texk/dvipng/help/Makefile.am10
-rw-r--r--Build/source/texk/dvipng/help/Makefile.in16
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.