[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [PATCH 12/26] [ng] texi: reorganize '.am' fragments even m
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [PATCH 12/26] [ng] texi: reorganize '.am' fragments even more |
Date: |
Sat, 16 Jun 2012 23:29:59 +0200 |
* 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 <address@hidden>
---
lib/am/texibuild.am | 6 ++++++
lib/am/texinfos.am | 12 ------------
2 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/lib/am/texibuild.am b/lib/am/texibuild.am
index ccefd0b..b86cf6d 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 <http://www.gnu.org/licenses/>.
+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 ec8fd09..867174b 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. ##
--
1.7.9.5
- Re: [Automake-NG] [PATCH 06/26] [ng] texi: be sure to only emit generic pattern rules once, (continued)
[Automake-NG] [PATCH 09/26] [ng] texi: refactoring in texibuild.am, Stefano Lattarini, 2012/06/16
[Automake-NG] [PATCH 10/26] [ng] texi: reduce code duplication in output Makefile, Stefano Lattarini, 2012/06/16
[Automake-NG] [PATCH 11/26] [ng] texi: reorganize '.am' fragments a bit, Stefano Lattarini, 2012/06/16
[Automake-NG] [PATCH 12/26] [ng] texi: reorganize '.am' fragments even more,
Stefano Lattarini <=
[Automake-NG] [PATCH 13/26] [ng] texi: drop transforms when reading texibuild.am, Stefano Lattarini, 2012/06/16
[Automake-NG] [PATCH 14/26] [ng] texi: adjust names of vars used for silent rules support, Stefano Lattarini, 2012/06/16
[Automake-NG] [PATCH 15/26] [ng] texi: drop a useless transform when processing texinfos.am, Stefano Lattarini, 2012/06/16
[Automake-NG] [PATCH 16/26] [ng] refactor: more proper name for a subroutine in automake, Stefano Lattarini, 2012/06/16
[Automake-NG] [PATCH 17/26] [ng] texi: always look for mdate-sh in the build-aux directory ..., Stefano Lattarini, 2012/06/16