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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
#
info_TEXINFOS = texi2html.texi
#CLEANFILES = texi2html.ps texi2html.pdf texi2html.html \
# texi2html.ascii
#
texinfodata = $(datadir)/texinfo
texinfohtmldir = $(texinfodata)/html
texinfohtml_DATA = texi2html.html
# use the script out of the distribution NOT
# an old one which is installed on the client.
TEXI2HTML = $(top_builddir)/texi2html
man_MANS = texi2html.1
EXTRA_DIST = \
texi2html.1.in \
texi2html.html
CLEANFILES = texi2html.1
#texi2html.html: texi2html.texi $(srcdir)/version.texi \
# $(TEXI2HTML)
texi2html.html: texi2html.texi $(srcdir)/version.texi \
$(top_srcdir)/texi2html.pl $(top_srcdir)/texi2html.init \
$(top_srcdir)/MySimple.pm $(top_srcdir)/T2h_i18n.pm
TEXINPUTS=$(srcdir)::$$TEXINPUTS T2H_HOME=$(top_srcdir) \
$(SHELL) $(top_srcdir)/missing-texi2html --run \
$(PERL) -x $(top_srcdir)/texi2html.pl -V $<
$(TEXI2HTML):
@(cd $(top_builddir) && make texi2html)
texi2html.1: texi2html.1.in ../config.status
@echo Generating $@...
@sed -e "s/[@]PACKAGE_VERSION[@]/$(PACKAGE_VERSION)/" \
-e "s/[@]PACKAGE_DATE[@]/$(PACKAGE_DATE)/" \
-e "s#[@]sysconfdir[@]#$(sysconfdir)#" \
-e "s#[@]pkgdatadir[@]#$(pkgdatadir)#" $< >texi2html.tmp
@mv texi2html.tmp $@
txt: texi2html.txt
SUFFIXES = .txt
check-local: $(TEXI2HTML)
TEXINPUTS=$(srcdir)::$$TEXINPUTS \
$(TEXI2HTML) -V $(srcdir)/texi2html.texi
# texinfo based targets automake neglects to include
.texinfo.txt:
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
--no-headers -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
.txi.txt:
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
--no-headers -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
.texi.txt:
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
--no-headers -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|