pkgsrc/devel/bmake/bmake2pkgsrc
jlam 37c208aa2b Add a script to generate the bmake.1 man page for the bootstrap script,
and keep a copy of the bmake.1 man page in devel/bmake/files.
2006-07-14 15:58:08 +00:00

20 lines
540 B
Bash
Executable file

#!/bin/sh
#
# $NetBSD: bmake2pkgsrc,v 1.1 2006/07/14 15:58:08 jlam Exp $
#
# This script should be run after the import-bmake-sh script is run to
# generate the bmake.1 manpage for the bootstrap script.
#
# Run this from the devel/bmake package directory:
#
# cd devel/bmake && ./bmake2pkgsrc
#
cd files
( sed -e '/^.Nm/s/make/bmake/' -e '/^.Sh HISTORY/,$d' make.1
echo ".Sh HISTORY"
echo ".Nm"
echo "is derived from NetBSD's"
echo ".Xr make 1 ."
echo "It uses autoconf to facilitate portability to other platforms."
) > bmake.1