From c919b9b62ce6fe4ad93c2221acb218fa42fe8cdb Mon Sep 17 00:00:00 2001
From: Per Cederqvist <ceder@lysator.liu.se>
Date: Sun, 11 Aug 2002 16:14:36 +0000
Subject: [PATCH] (MOSTLYCLEANFILES): Added TeX temp file regarding
 protocol-a.texi, and 	protocol-a.texi. (DISTCLEANFILES): Added
 Protocol-A.pdf. (Protocol-A.dvi): Fix the TEXINPUTS setting so that a VPATH
 compile works. (Protocol-A.pdf): Ditto.

---
 doc/Makefile.am | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 33fe4f263..cbfc360e5 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.42 2002/03/29 22:29:56 ceder Exp $
+# $Id: Makefile.am,v 1.43 2002/08/11 16:14:36 ceder Exp $
 # Copyright (C) 1998-1999, 2001-2002  Lysator Academic Computer Association.
 #
 # This file is part of the LysKOM server.
@@ -28,7 +28,12 @@ SUBDIRS = man
 
 info_TEXINFOS = Protocol-A.texi lyskomd.texi
 
-MOSTLYCLEANFILES = Protocol-A.notab lyskomd.notab *.tmp
+MOSTLYCLEANFILES = Protocol-A.notab lyskomd.notab *.tmp \
+    protocol-a.texi protocol-a.aux protocol-a.fns protocol-a.log \
+    protocol-a.toc protocol-a.am protocol-a.cp protocol-a.fn \
+    protocol-a.ky protocol-a.pg protocol-a.tp protocol-a.vr
+
+DISTCLEANFILES = Protocol-A.pdf
 
 EXTRA_DIST = .cvsignore \
 	IDEAS \
@@ -54,13 +59,13 @@ protocol-a.info: Protocol-A.texi
 # disable it with a explicit targets for the dvi and pdf output.
 
 Protocol-A.dvi: protocol-a.texi
-	TEXINPUTS="../scripts:$$TEXINPUTS" \
+	TEXINPUTS="$(top_srcdir)/scripts:$$TEXINPUTS" \
 	MAKEINFO='makeinfo -I .' \
 	texi2dvi protocol-a.texi
 	mv protocol-a.dvi $@
 
 Protocol-A.pdf: protocol-a.texi
-	TEXINPUTS="../scripts:$$TEXINPUTS" \
+	TEXINPUTS="$(top_srcdir)/scripts:$$TEXINPUTS" \
 	MAKEINFO='makeinfo -I .' \
 	texi2dvi --pdf protocol-a.texi
 	mv protocol-a.pdf $@
-- 
GitLab