From: Stefano Lattarini Date: Sat, 16 Jun 2012 09:35:47 +0000 (+0200) Subject: [ng] texi: reorganize '.am' fragments even more X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18ac3c804523f2a8047b45aa4199b67f16cbfdb6;p=thirdparty%2Fautomake.git [ng] texi: reorganize '.am' fragments even more * lib/am/texinfos.am (TEXI2DVI, TEXI2PDF, DVIPS, MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Move these variables' definitions ... * lib/am/texibuild.am: ... in here, since their only uses are here. Signed-off-by: Stefano Lattarini --- diff --git a/lib/am/texibuild.am b/lib/am/texibuild.am index ccefd0bed..b86cf6dcc 100644 --- a/lib/am/texibuild.am +++ b/lib/am/texibuild.am @@ -14,6 +14,12 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see . +TEXI2DVI = texi2dvi +TEXI2PDF = $(TEXI2DVI) --pdf --batch +DVIPS = dvips +MAKEINFOHTML = $(MAKEINFO) --html +AM_MAKEINFOHTMLFLAGS ?= $(AM_MAKEINFOFLAGS) + define am__texibuild_dvi_or_pdf $1$(am__ensure_target_dir_exists) && \ TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ diff --git a/lib/am/texinfos.am b/lib/am/texinfos.am index ec8fd0911..867174b47 100644 --- a/lib/am/texinfos.am +++ b/lib/am/texinfos.am @@ -18,18 +18,6 @@ ## FIXME: this should probably be moved to header-vars.am ... am__create_installdir = $(if $(and $1,$^),$(MKDIR_P) '$(DESTDIR)$1',@:) -## ----------- ## -## Variables. ## -## ----------- ## - -if %?LOCAL-TEXIS% -TEXI2DVI = texi2dvi -TEXI2PDF = $(TEXI2DVI) --pdf --batch -DVIPS = dvips -MAKEINFOHTML = $(MAKEINFO) --html -AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) -endif %?LOCAL-TEXIS% - ## ---------- ## ## Building. ##