projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e54d60
)
Making extraction of the manpage section in manpages/Makefile work with multiple...
author
Daniel Baumann
<daniel@debian.org>
Sun, 8 Apr 2012 20:46:39 +0000
(22:46 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Sun, 8 Apr 2012 20:50:32 +0000
(22:50 +0200)
manpages/Makefile
patch
|
blob
|
history
diff --git
a/manpages/Makefile
b/manpages/Makefile
index
00370bc
..
fd6298f
100644
(file)
--- a/
manpages/Makefile
+++ b/
manpages/Makefile
@@
-12,7
+12,7
@@
po4a.cfg:
for MANPAGE in en/*; \
do \
- SECTION="$$(basename $${MANPAGE} |
awk -F. '{ print $$2 }'
)"; \
+ SECTION="$$(basename $${MANPAGE} |
sed -e 's|\.|\n|g' | tail -n1
)"; \
echo "[type: man] $${MANPAGE} \$$lang:\$$lang/$$(basename $${MANPAGE} .$${SECTION}).\$$lang.$${SECTION}" >> po4a.cfg; \
done