Make docs truly optional

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Synch __arraycount with upstream's definition

Subsequently, fix a -Wsign-compare error with clang due to
synching __arraycount's definition.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
- Revert cd ...; make change
- Compile less things for textproc/docproj
- Make sure .../usr/ports exists
- Make the doc distribution parameterizable

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Take out WITH_TEST logic for now

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
- Fix a typo that was resulting in a syntax error in the Makefile
- Don't prefix base.txz and kernel.txz with .OBJDIR
- Use && instead of ; between commands to properly handle errors with bmake
- Use tr instead of :U in order to be compatible with bmake and fmake
- Hardlink images instead of copying them to speed up the copy to /R process

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Use set -e and && instead of ; so errors are caught properly with bmake

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
bmake error catching fixes:
- Exit on error with variable setting in
  distributeworld/installworld with bmake
- Use && instead of ; to separate commands in order to
  catch errors with bmake

INSTALL_DDIR changes:
- Replace DESTDIR/DISTDIR with INSTALL_DDIR
- Fix the pattern substitution with INSTALL_DDIR to
  properly remove duplicate slashes as the former code
  only handled replacing even pairs of slashes.

Misc:
- Don't create subshells when compiling bmake/fmake

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Create memory disks for /etc and /var on the ISOs

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Fix a race condition between make distribution and installworld

installworld must finish before distribution can complete.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Be noisy about what's being done

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Explicitly turn off the ssp testcases because they error out

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Append to PROGS and don't explicitly define NOMAN

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Fix a slew of -Wunused errors by checking argc properly

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Create the libc/ssp directory

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Auto-prefix .OBJDIR to DISTDIR, remove unnecessary divergence with head, and execute doc install commands in serial to avoid races if executed in parallel

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Install tests as a separate distribution packageworld, etc

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Add -DNODOC to RMAKE

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
- Make generating images noisy
- Don't use .. in paths; use the :H make modifier
  instead. The avoids EPERM issues with ln.
- Remove tests.txz stuff from release/Makefile
  XXX: need to figure out how to integrate things
       together properly with
       {distribute,package}world.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>