Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/mdocml Use example.style.css in place of style....



details:   https://anonhg.NetBSD.org/src/rev/d7d33eb9d3c5
branches:  trunk
changeset: 760771:d7d33eb9d3c5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Jan 12 23:00:51 2011 +0000

description:
Use example.style.css in place of style.css.
Replace $Mdocdate$ with the content in correct order, so that groff
gives proper output.

diffstat:

 external/bsd/mdocml/prepare-import.sh |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8a8622755102 -r d7d33eb9d3c5 external/bsd/mdocml/prepare-import.sh
--- a/external/bsd/mdocml/prepare-import.sh     Wed Jan 12 22:58:42 2011 +0000
+++ b/external/bsd/mdocml/prepare-import.sh     Wed Jan 12 23:00:51 2011 +0000
@@ -3,11 +3,12 @@
 set -e
 
 cd dist
-rm -rf ChangeLog.xsl example.style.css index.css *.sgml
+rm -rf ChangeLog.xsl style.css index.css *.sgml
 
 uuencode external.png < external.png > external.png.uu
 rm external.png
 
 for f in [a-z]*; do
-       sed 's/[$]Id:/\$Vendor-Id:/' < $f > $f.new && mv $f.new $f
+       sed -e 's/[$]Id:/\$Vendor-Id:/' \
+           -e 's/[$]Mdocdate: \([^$]*\) \([0-9][0-9][0-9][0-9]\) [$]/\1, \2/' < $f > $f.new && mv $f.new $f
 done



Home | Main Index | Thread Index | Old Index