Commit d9fedc37 authored by Roland Levillain's avatar Roland Levillain
Browse files

Add texi2dvi as well as a Make helper to use it.

	* build-aux/texi2dvi: New script.
	Imported from Texinfo.
	* build-aux/tex.mk: New Makefile helper.
	Inspired by LRDE share/style/tex.mk.
	* build-aux/Makefile.am (EXTRA_DIST): Add texi2dvi.
parent 42bc78f8
2010-03-12 Roland Levillain <roland@lrde.epita.fr>
Add texi2dvi as well as a Make helper to use it.
* build-aux/texi2dvi: New script.
Imported from Texinfo.
* build-aux/tex.mk: New Makefile helper.
Inspired by LRDE share/style/tex.mk.
* build-aux/Makefile.am (EXTRA_DIST): Add texi2dvi.
2010-03-12 Roland Levillain <roland@lrde.epita.fr>
* configure.ac: Configure milena/doc/tools/data.hh.
......
# Copyright (C) 2006, 2009 EPITA Research and Development Laboratory (LRDE).
# Copyright (C) 2006, 2009, 2010 EPITA Research and Development
# Laboratory (LRDE).
#
# This file is part of Olena.
#
......@@ -13,7 +14,10 @@
#
# You should have received a copy of the GNU General Public License
# along with Olena. If not, see <http://www.gnu.org/licenses/>.
#
## Process this file through Automake to produce Makefile.in.
EXTRA_DIST = generate_dist_headers.sh build_unit_test.sh
# texi2dvi: produce DVI (or PDF) files from Texinfo (or (La)TeX) sources.
# Part of the Texinfo project (http://www.gnu.org/software/texinfo/).
EXTRA_DIST = texi2dvi
# File generators.
EXTRA_DIST += generate_dist_headers.sh build_unit_test.sh
## tex.mk -*- Makefile-Automake -*-
## A small subset of LRDE's share/make/tex.mk.
## Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE).
##
## This file is part of Olena.
##
## Olena is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free
## Software Foundation, version 2 of the License.
##
## Olena is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Olena. If not, see <http://www.gnu.org/licenses/>.
build_aux_dir = $(top_srcdir)/build-aux
TEXI2DVI = $(build_aux_dir)/texi2dvi
TEXI2DVI_FLAGS = --tidy --build-dir=tmp.t2d --batch
TEXI2PDF = $(TEXI2DVI) --pdf
TEXI2PDF_FLAGS = $(TEXI2DVI_FLAGS)
SUFFIXES = .pdf .tex
.tex.pdf:
$(TEXI2PDF) $(TEXI2PDF_FLAGS) -o $@ $<
tex-mostlyclean:
rm -rf tmp.t2d
.PHONY: tex-mostlyclean
# mostlyclean-local is an Automake special target.
mostlyclean-local: tex-mostlyclean
.PHONY: mostlyclean-local
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment