$OpenBSD: patch-man_Makefile_in,v 1.1 2002/09/19 22:29:36 todd Exp $
--- man/Makefile.in.orig	Mon Mar  3 12:21:07 1997
+++ man/Makefile.in	Thu Sep 19 17:24:16 2002
@@ -32,12 +32,12 @@ TROFFOPTS = -man
 prefix = @prefix@
 mandir = @mandir@
 
-DISTFILES = Makefile.in version.in $(PRODUCT).1 version.n stamp-vnr $(PRODUCT).man $(PRODUCT).ps
+DISTFILES = Makefile.in version.in $(PRODUCT).1 version.n stamp-vnr $(PRODUCT).0 $(PRODUCT).ps
 
-all manpage: $(PRODUCT).man $(PRODUCT).ps
+all manpage: $(PRODUCT).0 $(PRODUCT).ps
 
-$(PRODUCT).man: $(PRODUCT).1 version.n
-	cd $(srcdir) && $(TROFF) $(TROFFOPTS) -Tascii $(PRODUCT).1 >$(PRODUCT).man
+$(PRODUCT).0: $(PRODUCT).1 version.n
+	cd $(srcdir) && $(TROFF) $(TROFFOPTS) -Tascii $(PRODUCT).1 >$(PRODUCT).0
 $(PRODUCT).ps: $(PRODUCT).1 version.n
 	cd $(srcdir) && $(TROFF) $(TROFFOPTS) -Tps $(PRODUCT).1 >$(PRODUCT).ps
 
@@ -51,17 +51,17 @@ stamp-vnr: $(PRODUCT).1
 	date > $<
 
 install: all
-	$(srcdir)/../mkinstalldirs $(mandir) $(mandir)/man1 $(mandir)/cat1
-	cd $(srcdir) && for file in $(PRODUCT).1; do \
-	  $(INSTALL_DATA) $$file $(mandir)/man1/$$file; \
-	done
-	cd $(srcdir) && for file in $(PRODUCT).man; do \
+	$(srcdir)/../mkinstalldirs $(mandir) $(mandir)/cat1
+#	cd $(srcdir) && for file in $(PRODUCT).1; do \
+#	  $(INSTALL_DATA) $$file $(mandir)/man1/$$file; \
+#	done
+	cd $(srcdir) && for file in $(PRODUCT).0; do \
 	  $(INSTALL_DATA) $$file $(mandir)/cat1/$$file; \
 	done
 
 uninstall:
 	rm -f $(mandir)/man1/$(PRODUCT).1
-	rm -f $(mandir)/cat1/$(PRODUCT).man
+	rm -f $(mandir)/cat1/$(PRODUCT).0
 
 mostlyclean:
 	rm -f *.tmp
@@ -72,7 +72,7 @@ distclean: clean
 	rm -f Makefile
 
 realclean: distclean
-	rm -f stamp-vti $(PRODUCT).man $(PRODUCT).n $(PRODUCT).ps
+	rm -f stamp-vti $(PRODUCT).0 $(PRODUCT).n $(PRODUCT).ps
 
 dist: $(DISTFILES)
 	@echo "Copying distribution files"
