[BACK]Return to prepare-import.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / bsd / mdocml

File: [cvs.NetBSD.org] / src / external / bsd / mdocml / prepare-import.sh (download)

Revision 1.4, Wed Jan 12 23:00:51 2011 UTC (6 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.3: +3 -2 lines

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


set -e

cd dist
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 -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