author | Thomas Arendsen Hein <thomas@intevation.de> |
Thu, 05 Oct 2006 20:03:38 +0200 | |
changeset 3268 | 6901d3545021 |
parent 3267 | bb057b6ce3cf |
child 3269 | a7370503d800 |
doc/Makefile | file | annotate | diff | comparison | revisions |
--- a/doc/Makefile +++ b/doc/Makefile @@ -28,7 +28,7 @@ hg.1.gendoc.txt: ../mercurial/commands.p 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