minix/usr.bin/mdocml/prepare-import.sh
Ben Gras 0c3983b25a update/fix manpage support
. add bsd-style MLINKS to minix man set, restoring aliases
	  (e.g. man add64 -> int64)
	. update daily cron script to run makewhatis and restore makewhatis
	  in man Makefile (makedb), restores functionality of man -k
	. netbsd imports of man, mdocml, makewhatis, libutil, apropos
	. update man.conf with manpage locations, restoring man [-s] <section>
	. throws out some obsolete manpages
2011-09-28 15:24:15 +00:00

14 lines
309 B
Bash

#/bin/sh
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
done