Skip to content
Snippets Groups Projects
Commit 1027da7d authored by Cédric Duval's avatar Cédric Duval
Browse files

doc: fix regexp for determining the man page section

Preceding a .* pattern with an other dot serves little purpose,
better anchor the regexp to the start of the file name.
parent c66e324d
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,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 $(DESTDIR)$(MANDIR)/$$subdir ; \
$(INSTALL) $$i $(DESTDIR)$(MANDIR)/$$subdir ; \
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment