Module Name: src
Committed By: joerg
Date: Wed Jan 12 23:00:52 UTC 2011
Modified Files:
src/external/bsd/mdocml: prepare-import.sh
Log Message:
Use example.style.css in place of style.css.
Replace $Mdocdate$ with the content in correct order, so that groff
gives proper output.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/mdocml/prepare-import.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/mdocml/prepare-import.sh
diff -u src/external/bsd/mdocml/prepare-import.sh:1.3 src/external/bsd/mdocml/prepare-import.sh:1.4
--- src/external/bsd/mdocml/prepare-import.sh:1.3 Fri Feb 19 23:02:41 2010
+++ src/external/bsd/mdocml/prepare-import.sh Wed Jan 12 23:00:51 2011
@@ -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