changeset 34558:3acdbada9858

(mostlyclean): Remove gnustmp.* (gnus.dvi): Change rule to remove @latex stuff.
author Dave Love <fx@gnu.org>
date Thu, 14 Dec 2000 14:17:37 +0000
parents b9586137049e
children af989de4e587
files man/Makefile.in
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/man/Makefile.in	Thu Dec 14 14:11:03 2000 +0000
+++ b/man/Makefile.in	Thu Dec 14 14:17:37 2000 +0000
@@ -141,7 +141,10 @@
 ../info/gnus: gnus.texi
 	cd $(srcdir); $(MAKEINFO) gnus.texi
 gnus.dvi: gnus.texi
-	$(ENVADD) $(TEXI2DVI) ${srcdir}/gnus.texi
+	sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi 
+	$(ENVADD) $(TEXI2DVI) gnustmp.texi
+	cp gnustmp.dvi $*.dvi
+	rm gnustmp.*
 
 ../info/message: message.texi
 	cd $(srcdir); $(MAKEINFO) message.texi
@@ -222,7 +225,7 @@
 	$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
 
 mostlyclean:
-	rm -f *.log *.cp *.fn *.ky *.pg *.vr core
+	rm -f *.log *.cp *.fn *.ky *.pg *.vr core gnustmp.*
 
 clean: mostlyclean
 	rm -f *.dvi