Some versions of sed don't support .\+, so use ..* instead.
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 05 Oct 2006 20:03:38 +0200
changeset 3269 6901d3545021
parent 3268 bb057b6ce3cf
child 3270 a7370503d800
Some versions of sed don't support .\+, so use ..* instead. Reported by Christian Ebert for MacOS X.
doc/Makefile
--- a/doc/Makefile	Thu Oct 05 15:51:54 2006 +0200
+++ b/doc/Makefile	Thu Oct 05 20:03:38 2006 +0200
@@ -28,7 +28,7 @@
 
 install: man
 	for i in $(MAN) ; do \
-	  subdir=`echo $$i | sed -n 's/.\+\.\([0-9]\)$$/man\1/p'` ; \
+	  subdir=`echo $$i | sed -n 's/..*\.\([0-9]\)$$/man\1/p'` ; \
 	  mkdir -p $(MANDIR)/$$subdir ; \
 	  $(INSTALL) $$i $(MANDIR)/$$subdir ; \
 	done