blob: f9291eeae98bfcd095adce0e5f4a07a1f1a973b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
## Makefile.am for the TeX Live subdirectory texk/dvipng/help/
##
## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
## 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
|