Merge from vendor branch TNF:
[pkgsrcv2.git] / devel / bmake / bmake2pkgsrc
1 #!/bin/sh
2 #
3 # $NetBSD$
4 #
5 # This script should be run after the import-bmake-sh script is run to
6 # generate the bmake.1 manpage for the bootstrap script.
7 #
8 # Run this from the devel/bmake package directory:
9 #
10 #       cd devel/bmake && ./bmake2pkgsrc
11 #
12
13 cd files
14 ( sed -e '/^.Nm/s/make/bmake/' -e '/^.Sh HISTORY/,$d' make.1
15   echo ".Sh HISTORY"
16   echo ".Nm"
17   echo "is derived from NetBSD's"
18   echo ".Xr make 1 ."
19   echo "It uses autoconf to facilitate portability to other platforms."
20 ) > bmake.1