From 44686714a168a1117a294067e0d9943947aeeb7d Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 15 Jun 2009 15:12:22 +0000 Subject: reorganize texk/dvipng git-svn-id: svn://tug.org/texlive/trunk@13752 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipng/help/Makefile.am | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Build/source/texk/dvipng/help/Makefile.am (limited to 'Build/source/texk/dvipng/help/Makefile.am') diff --git a/Build/source/texk/dvipng/help/Makefile.am b/Build/source/texk/dvipng/help/Makefile.am new file mode 100644 index 00000000000..f9291eeae98 --- /dev/null +++ b/Build/source/texk/dvipng/help/Makefile.am @@ -0,0 +1,26 @@ +## Makefile.am for the TeX Live subdirectory texk/dvipng/help/ +## +## Copyright (C) 2009 Peter Breitenlohner +## You may freely use, modify and/or distribute this file. +## +DVIPNG_HELP = $(top_srcdir)/doc/dvipng.help + +all-local: help-stamp $(DVIPNG_HELP) + +# If dvipng.help is to be rebuilt, this would fail for a read-only source +# directory, but rebuilding dvipng.info would equally fail. +# Do not even try to rebuild dvipng.help if help-stamp is up to date. +$(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 + echo timestamp >$@ + +DISTCLEANFILES = help-stamp + -- cgit v1.2.3