[SCM] live-tools branch, debian, updated. debian/3.0_b1-1-3-g98f0bac
Daniel Baumann
daniel at debian.org
Tue Jun 5 11:58:37 UTC 2012
The following commit has been merged in the debian branch:
commit 0e6fee475680121e7fb3087e7f798dba11f0c29c
Author: Daniel Baumann <daniel at debian.org>
Date: Sun Apr 8 22:53:31 2012 +0200
Making extraction of the manpage section in manpages/Makefile work with multiple dots in the filename.
diff --git a/manpages/Makefile b/manpages/Makefile
index 6dee660..defb121 100644
--- a/manpages/Makefile
+++ b/manpages/Makefile
@@ -20,7 +20,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
--
live-tools
More information about the debian-live-changes
mailing list