Subject: Re: Using MacOS X to build INSTALL notes?
To: Michael Wolfson <>
From: Luke Mewburn <>
List: tech-install
Date: 07/19/2003 10:32:34
On Fri, Jul 18, 2003 at 05:04:45PM -0700, Michael Wolfson wrote:
  | Is there any easy way to do this without attempting to build an entire
  | distribution.  Ideally, I'd like to use MacOS X to build the INSTALL notes
  | only so I can make sure everything's formatted right before committing.
  | I've got bmake installed (from the pkgsrc install tools), and it barfs,
  | looking in the wrong places for stuff.
  | (gizmobook) /Volumes/netbsd/home/mw/netbsd/src/distrib/notes/macppc> bmake
  | INSTALL.html
  | bmake: "/etc/mk.conf" line 367: Malformed conditional (${OPSYS} == "SunOS")
  | bmake: "/etc/mk.conf" line 367: Need an operator
  | bmake:
  | "/Volumes/netbsd/home/mw/netbsd/src/distrib/notes/macppc/../"
  | line 7: Could not find /distrib/common/Makefile.distrib
  | bmake: "/usr/pkg/share/mk/" line 13: if-less endif
  | bmake: "/usr/pkg/share/mk/" line 13: Need an operator
  | bmake: Fatal errors encountered -- cannot continue
  | bmake: stopped in /Volumes/netbsd/home/mw/netbsd/src/distrib/notes/macppc

For -current, something like:
	./ -U tools
(-U isn't strictly necessary, but it does allow building and
installing as a non-root user :)

Remember the path to "makewrapper" that outputs in the summary.

Build the docs:
	cd distrib/notes/macppc
	/path/to/makewrapper INSTALL.html

That should work.