summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormarcus <marcus>2004-05-13 18:54:18 +0000
committermarcus <marcus>2004-05-13 18:54:18 +0000
commit3dca82b7837ff73613559da161957d680c3af81a (patch)
treeee04adde73bc86e36d0a9709fa76f67d4bbe3fe0 /doc
parent23c9f51812411efe13fcd34cf649e10e6c8888e9 (diff)
2004-05-13 Tomasz Gajewski <tomga@wp.pl>
* Makefile.am (.tex.dvi): Fixed building from out of source directory. * Makefile.am (.dvi.ps): Output to file not directly to printer.
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog6
-rw-r--r--doc/Makefile.am8
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index c3604db..b5edbdb 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,9 @@
+2004-05-13 Tomasz Gajewski <tomga@wp.pl>
+
+ * Makefile.am (.tex.dvi): Fixed building from out of source
+ directory.
+ * Makefile.am (.dvi.ps): Output to file not directly to printer.
+
2004-03-22 Daniel Wagner <wagi@gmx.ch>
* device-drivers.tex (subsection{Several Plugin Managers}):
diff --git a/doc/Makefile.am b/doc/Makefile.am
index eb8be2f..502f513 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -43,15 +43,15 @@ hurd-on-l4.dvi: ${eps_files} ${tex_files}
SUFFIXES = .ps .dvi .tex .eps .fig .pdf
.tex.dvi:
- $(LATEX) $< -o $@
+ TEXINPUTS="$(srcdir):$(TEXINPUTS)" $(LATEX) $< -o $@ ; \
while egrep "^LaTeX Warning:.*Rerun to" \
- `echo $< | sed -e 's/.tex$$/.log/'`; do \
+ `echo $< | sed -e 's/.*\///' -e 's/.tex$$/.log/'`; do \
rm -f $(subst $<,.tex,.log); \
- $(LATEX) $< -o $@; \
+ TEXINPUTS="$(srcdir):$(TEXINPUTS)" $(LATEX) $< -o $@; \
done
.dvi.ps:
- $(DVIPS) $<
+ $(DVIPS) -o $@ $<
.ps.pdf:
$(PS2PDF) $<