Commit Graph

35 Commits

Author SHA1 Message Date
he e49da78c8f Add a list of files which determine the kernel version as
DISTRIBVERDEP in Makefile.distrib, and make both sysinst and
distribution notes use that information so that they rebuild
if the kernel version changes.

Distribution notes didn't have this before, sysinst had a private
(now outdated, since sys/sys/param.h now determines version) copy
of this.
2004-02-02 18:43:39 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
lukem a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
lukem 450802d92e - define COMMON as "${.CURDIR}/../common", and use appropriately
- remove .PATH: ${.CURDIR}/../common
- update the various MERGED_SRCS lines to reflect reality
2002-07-21 08:14:46 +00:00
lukem e3c1695a2b add back comment lost in previous revision 2002-07-21 00:12:28 +00:00
lukem f478f495f1 - Explicitly reference "install" as "${.CURDIR}/install" as our <bsd.own.mk>
does a ".PHONY" on "install", and this prevents .PATH lookups working for
  that target, so "make" unnecessarily considered the files out of date and
  rebuilt them every time.  (make(1) needs a .NOTPHONY)
- Separate out the TOC dependencies so that a given ${TARG}.type only
  depends upon the appropriate ${TARGET}.type.toc.  Prevents unnecessary
  rebuilding of all the TOCs when you're only generating one target type.
- Remove *.toc.tmp in cleannotes.
2002-07-20 06:59:19 +00:00
wiz ee9025dec0 Add a comment why the more.toc needs to be generated twice.
XXX: Why do the other TOCs get generated twice? We don't need correct
page numbers there...
2002-06-16 00:30:23 +00:00
lukem 82da8bc9bd remove now-unused targets 2002-06-15 02:15:54 +00:00
lukem ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
lukem 9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
lukem 6511b77c5f simplify by using stuff from ../Makefile.inc 2002-04-11 06:33:57 +00:00
lukem 811d644d8f don't set the owner or group when installing into $RELEASEDIR 2002-02-09 13:56:48 +00:00
jmc 353e1ce493 Clean this up for a proper cross-build setup.
1. Replace all "groff"'s with $GROFF so the right binary is picked up depending
on new or old toolchain setups and USETOOLS
2. Remove the DESTDIR check where it adds -M. This is pointless as some of the
file in share/tmac have hard coded references to /usr/share/tmac so using the
new ones in $DESTDIR will just point you back into /usr/share anyways...
(the new toolchain has no issue here as it's tmac files all point into
$TOOLDIR. Any old setups should just depend on the local setup instead of
some mix of DESTDIR and old files the -M would have produced).
2001-12-10 05:27:59 +00:00
jhawk 700b43b275 s/MAKETOCS/MKTOCS/ 2001-12-01 17:54:11 +00:00
jhawk a5c0fa3864 Based on feedback (various), remove the .toc files from CVS,
and instead generate them each and every time (twice!).
Based on a suggestion from Alan Barrett, allow setting MAKETOC=no
to permit rebuilding the install notes without regenerating the
.toc files, to allow more speedy debugging of markup changes.
2001-11-30 22:20:03 +00:00
jhawk c2c3e49e52 Add a table of contents (TOC) to the release notes.
This makes it _much_ more user-friendly, as it allows users
  to skip to the parts they want easily.
At present, the TOCs are generated files, and can be regenerated
  with "make tocs" (probably has to be run twice to account for
  the size of the table itself).
TOCs are named INSTALL.{PostScript,ASCII,HTML,more}.toc instead of
  INSTALL.{ps,txt,html,more}.toc because that's what \*[format]
  expands to.
2001-11-26 00:19:56 +00:00
mycroft 2737c13aee Nuke gratuitous usage of .for. 2001-01-14 21:45:01 +00:00
mycroft 149f0de4fa Use bsd.man.mk (maybe should be something else) instead of bsd.prog.mk, and
do the cleaning differently.
2001-01-14 21:37:55 +00:00
mycroft 62ea85dad9 Use bsd.own.mk, not bsd.obj.mk. 2001-01-14 21:30:58 +00:00
matt a2669c50c0 When making the release notes, use the macros in ${DESTDIR} 2000-11-26 02:50:12 +00:00
lukem 6a50c6b116 - depend upon ../common/macros as well
- call groff with -dM instead of -dMACHINE, and change the macro use
  accordingly. remove -dV_S since nothing used it.
2000-10-10 12:51:20 +00:00
lukem 7f6d9c1606 add dinky .pdf target which runs ps2pdf on the .ps source 2000-10-05 09:02:48 +00:00
enami fce828f34e When output device is ascii, load tmac.tty-char explicity as nroff does,
so that some developer's names are translated saner way.
2000-08-01 01:57:57 +00:00
cjs 81999926fe Include bsd.obj.mk so we can have RELEASEDIR in /etc/mk.conf. 2000-03-08 15:39:48 +00:00
lukem 8c9f01b5c5 - Replace inline mirrors list with a link to
http://www.netbsd.org/Sites/net.html
  It's probably safe to assume that a user wanting access to a mirror
  site can access this URL...
- Highlight that with the latest BIND code you need to now use
	options { version "newfoo"; }
  to change the infoleak string.  (1.3.3 didn't have the infoleak,
  but it crept back into 1.4)
1999-12-08 03:57:29 +00:00
soren c8eb8949ca Fix pasto. 1999-12-07 22:56:57 +00:00
soren d12226a14d Use 7-bit ASCII for INSTALL.txt. 1999-12-07 22:33:49 +00:00
soren 84cf103b31 Use -Tlatin1 for output. 1999-12-07 17:58:04 +00:00
ross 1128e4c837 Add release targets, intended for use by the src/etc/Makefile `make release'. 1999-06-30 18:23:02 +00:00
ross 22939f25dd Add target used when importing INSTALL.more to sysinst images. 1999-04-29 19:03:03 +00:00
drochner e6c7d6de02 workaround to make "make depend" succeed 1999-03-06 11:31:51 +00:00
lukem 868ca23db4 remove NOPROG (nothing uses it). however, set MKOBJ=no if appropriate 1999-02-13 23:53:56 +00:00
kleink 7652845c4d Also clean up ${TARG}.more. 1999-02-07 18:29:51 +00:00
ross b207e38c8b Give the common install notes components their own subdirectory.
Also, alpha and i386 now use a single merged common/sysinst,
and arm32 and sparc have a single merged common/xfer.
1999-01-13 08:18:44 +00:00