$OpenBSD: patch-doc_Makefile_in,v 1.2 2004/07/22 05:50:07 espie Exp $ --- doc/Makefile.in.orig Tue Nov 4 09:47:19 2003 +++ doc/Makefile.in Thu Jul 22 07:19:47 2004 @@ -252,6 +252,10 @@ dist-info: $(INFO_DEPS) if test -f $$base; then d=.; else d=$(srcdir); fi; \ for file in $$d/$$base*; do \ relfile=`expr "$$file" : "$$d/\(.*\)"`; \ + ext=`echo $$relfile | sed -e 's/^.*\\.//'`; \ + relfile=`echo $$relfile | sed -e 's/\\.[0-9a-z]*$$//'`; \ + relfile=`echo $$relfile | sed -e 's/^.*\///'`; \ + relfile=`echo $$relfile | sed '$(transform)'`.$$ext; \ test -f $(distdir)/$$relfile || \ cp -p $$file $(distdir)/$$relfile; \ done; \ @@ -380,6 +384,10 @@ install-info-am: $(INFO_DEPS) $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \ if test -f $$ifile; then \ relfile=`echo "$$ifile" | sed 's|^.*/||'`; \ + ext=`echo $$relfile | sed -e 's/^.*\\.//'`; \ + relfile=`echo $$relfile | sed -e 's/\\.[0-9a-z]*$$//'`; \ + relfile=`echo $$relfile | sed -e 's/^.*\///'`; \ + relfile=`echo $$relfile | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \ $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \ else : ; fi; \ @@ -391,6 +399,10 @@ install-info-am: $(INFO_DEPS) list='$(INFO_DEPS)'; \ for file in $$list; do \ relfile=`echo "$$file" | sed 's|^.*/||'`; \ + ext=`echo $$relfile | sed -e 's/^.*\\.//'`; \ + relfile=`echo $$relfile | sed -e 's/\\.[0-9a-z]*$$//'`; \ + relfile=`echo $$relfile | sed -e 's/^.*\///'`; \ + relfile=`echo $$relfile | sed '$(transform)'`.$$ext; \ echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\ install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\ done; \