2004-09-11 Paul Jakma <paul@dishone.st>

        * doc/quagga.texi: Update copyright. Contents should be at beginning
          of docs...
	* redhat/quagga.spec.in: wee keep_build define, to keep build dir.
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 243ff96..bb2e477 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,5 +1,10 @@
 2004-09-11 Paul Jakma <paul@dishone.st>
 
+	* quagga.texi: Update copyright. Contents should be at beginning
+	  of docs...
+
+2004-09-11 Paul Jakma <paul@dishone.st>
+
 	* ospfd.texi: OSPF MD5 auth requires stable time.
 
 2004-08-31 Hasso Tepper <hasso at quagga.net>
diff --git a/doc/quagga.texi b/doc/quagga.texi
index cb192a6..487ac94 100644
--- a/doc/quagga.texi
+++ b/doc/quagga.texi
@@ -32,7 +32,7 @@
 This is Edition @value{EDITION}, last updated @value{UPDATED} of
 @cite{The Quagga Manual}, for Quagga Version @value{VERSION}.
 
-Copyright (C) 1999, 2000, 2001, 2002 Kunihiro Ishiguro
+Copyright (C) 1999-2004 Kunihiro Ishiguro, et al.
 
 Permission is granted to make and distribute verbatim copies of this
 manual provided the copyright notice and this permission notice are
@@ -65,7 +65,7 @@
 
 @page
 @vskip 0pt plus 1filll
-Copyright @copyright{} 1999, 2000, 2001, 2002 Kunihiro Ishiguro
+Copyright @copyright{} 1999-2004 Kunihiro Ishiguro, et al.
 
 Permission is granted to make and distribute verbatim copies of
 this manual provided the copyright notice and this permission notice
@@ -114,6 +114,8 @@
 * Command Index::               
 * VTY Key Index::               
 @end menu
+@summarycontents
+@contents
 
 @include overview.texi
 @include install.texi
@@ -145,6 +147,4 @@
 
 @printindex ky
 
-@summarycontents
-@contents
 @bye
diff --git a/redhat/quagga.spec.in b/redhat/quagga.spec.in
index fcfc758..738464f 100644
--- a/redhat/quagga.spec.in
+++ b/redhat/quagga.spec.in
@@ -36,6 +36,9 @@
 %define		daemon_list	zebra ripd isisd ospfd bgpd
 %endif
 
+# allow build dir to be kept
+%define		keep_build	0
+
 Summary: Routing daemon
 Name:		quagga
 Version:	@VERSION@
@@ -250,7 +253,9 @@
 fi
 
 %clean
-#rm -rf $RPM_BUILD_ROOT
+%if !%{keep_build}
+rm -rf $RPM_BUILD_ROOT
+%endif
 
 %files
 %defattr(-,root,root)