kopia lustrzana https://gitlab.com/sane-project/backends
make sane.ps generation more portable
Macport version of latex does not intall changebar package referenced by sane.tex. Commented out this reference since its not actually used by any docs. This should allow generating with a wider range of latex versions. Also added quotes around TEXINPUTS (where to find our custom distributed html.sty) since OSX often has spaces in path names. Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>merge-requests/1/head
rodzic
25dc093bb6
commit
da2d2199ec
|
@ -93,10 +93,10 @@ doc_DATA += $(STANDARD)
|
|||
EXTRA_DIST += descriptions.txt releases.txt sane-logo2.jpg sane-logo.png \
|
||||
sane.png
|
||||
|
||||
LATEX = TEXINPUTS=$(srcdir):$$TEXINPUTS @LATEX@
|
||||
LATEX = TEXINPUTS="$(srcdir):$$TEXINPUTS" @LATEX@
|
||||
DVIPS = @DVIPS@
|
||||
MAKEINDEX = @MAKEINDEX@
|
||||
DLH = TEXINPUTS=$(srcdir):$$TEXINPUTS dlh
|
||||
DLH = TEXINPUTS="$(srcdir):$$TEXINPUTS" dlh
|
||||
MAN2HTML= nroff -man |\
|
||||
man2html -compress -topm 6 -botm 6 -nodepage -title $${page} \
|
||||
-cgiurl '$$title.$$section.html'|\
|
||||
|
|
|
@ -139,7 +139,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
JPEG_LIBS = @JPEG_LIBS@
|
||||
LATEX = TEXINPUTS=$(srcdir):$$TEXINPUTS @LATEX@
|
||||
LATEX = TEXINPUTS="$(srcdir):$$TEXINPUTS" @LATEX@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
|
@ -327,7 +327,7 @@ doc_DATA = $(HTML_PAGES) $(STANDARD)
|
|||
@USE_LATEX_TRUE@STANDARD = sane.ps
|
||||
dist_doc_DATA = backend-writing.txt
|
||||
nobase_dist_doc_DATA = $(BEDOCS)
|
||||
DLH = TEXINPUTS=$(srcdir):$$TEXINPUTS dlh
|
||||
DLH = TEXINPUTS="$(srcdir):$$TEXINPUTS" dlh
|
||||
MAN2HTML = nroff -man |\
|
||||
man2html -compress -topm 6 -botm 6 -nodepage -title $${page} \
|
||||
-cgiurl '$$title.$$section.html'|\
|
||||
|
|
12
doc/sane.tex
12
doc/sane.tex
|
@ -1,6 +1,9 @@
|
|||
\documentclass[11pt,DVIps]{report}
|
||||
|
||||
\usepackage{times,epsfig,changebar,html}
|
||||
\usepackage{times,epsfig,html}
|
||||
% Not Currently using changebar package so comment out to reduce
|
||||
% external dependencies.
|
||||
%\usepackage{changebar}
|
||||
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{1.5ex plus 0.5ex minus 0.5ex}
|
||||
|
@ -25,9 +28,10 @@
|
|||
\newcommand{\var}[1]{{\it #1}}
|
||||
\newcommand{\defn}[1]{#1\index{#1}}
|
||||
|
||||
\begin{latexonly}
|
||||
\setcounter{changebargrey}{0} % black change bars
|
||||
\end{latexonly}
|
||||
% Uncomment if adding changebars to text
|
||||
%\begin{latexonly}
|
||||
% \setcounter{changebargrey}{0} % black change bars
|
||||
%\end{latexonly}
|
||||
|
||||
\maketitle
|
||||
\tableofcontents
|
||||
|
|
Ładowanie…
Reference in New Issue