1 AUTHOR: Petrus - petrus@bmail.com.au
3 LICENSE: GNU Free Documentation License.
4 SYNOPSIS: bmake - NetBSD's make.
5 DESCRIPTION: Has some great extra features and is also used in pkgsrc,
7 management system. Good for sysadmins, developers, or anyone who wants a
9 actively developed Make.
15 * Fixed newbish dir shuffling
16 * Deleted redundant sed command
17 * jbit figured out a way to cause the bootstrap test to pass
21 The first thing to do is download
22 http://www.crufty.net/ftp/pub/sjg/bmake.tar.gz which is the source
23 tarball for bmake itself, and
24 http://www.crufty.net/ftp/pub/sjg/mk.tar.gz which contains the makefiles
25 that bmake needs. (They contain various system rules and so forth.)
27 You'll need to become root in order to do this, since files need to be
28 installed to /usr/share and a few other places.
29 When you've downloaded bmake, unpack it and cd into the bmake directory.
30 Bmake needs a seperate OS-specific build directory, so we'll make one of
35 cp mk.tar.gz bmake/Linux
38 ../bmake/configure --prefix=/usr
40 Now let's compile it:-
42 PATH=$PWD:$PATH make -f makefile.boot bootstrap MKSRC=mk
43 make -f makefile.boot install
45 We need the first line because bmake does a test at the end of
46 bootstrapping, for which it
47 needs to be in the PATH in order to pass.
48 One last thing we need to do is make sure the Linux.sys.mk file is in
50 sys.mk, as bmake needs this in order to function.
53 cp Linux.sys.mk /usr/share/sys.mk
55 You can test this by reinstalling bmake using bmake itself, in order to
56 be sure that sys.mk is in place and everything works.
60 It should now be working.