$NetBSD: patch-aw,v 1.2 2002/08/25 19:23:23 jlam Exp $ --- man/Makefile.in.orig Sun May 12 20:01:26 2002 +++ man/Makefile.in @@ -124,7 +124,7 @@ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + ext=1 ; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ @@ -157,7 +157,7 @@ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + ext=3 ; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \