Corrected install location of manpages.
authorThomas Arendsen Hein <thomas@intevation.de>
Wed, 04 Oct 2006 18:43:40 +0200
changeset 3245 3bdeca8946a6
parent 3244 f045b049a704
child 3246 27139167e615
Corrected install location of manpages. (man/manSECTION/ instead of man/man.SECTION/)
doc/Makefile
--- a/doc/Makefile	Wed Oct 04 18:06:03 2006 +0200
+++ b/doc/Makefile	Wed Oct 04 18:43:40 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