changeset 3269:6901d3545021

Some versions of sed don't support .\+, so use ..* instead. Reported by Christian Ebert for MacOS X.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 05 Oct 2006 20:03:38 +0200
parents bb057b6ce3cf
children a7370503d800
files doc/Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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