Commit Graph

23 Commits

Author SHA1 Message Date
Nathan Whitehorn
9e4062edd3 Add missing copyright notice. 2013-06-12 12:38:12 +00:00
Hiroki Sato
de17cbcc7e - Add CHECKSUM.* support in Makefile[1].
- Use ln -fs to create a symlink.
- Remove pkgadd for docports.
- Use WITHOUT_JADETEX=yes instead of WITH_JADETEX=no.
- Add {WORLD,KERNEL}_FLAGS to [BTWK]MAKE.
- Use makefs(8) and gpart(8) for sparc64 ISO image[2].
- Add publisher option to makefs(8)[2].

Based on work by:	gjb[1]
Discussed with:		marius, nwhitehorn[2]
2013-02-03 10:26:24 +00:00
Hiroki Sato
7da8fb21cd Set WITHOUT_SVN=yes for textproc/docproj.
Submitted by:	gjb
2013-01-12 22:41:29 +00:00
Glen Barber
c87363c006 - Allow cross-architecture builds with 'generate-release.sh', which
is set by specifying '-a <arch>'.  (Only supported for i386 on amd64
   and powerpc on powerpc64 currently).
 - Change how textproc/docproj is installed:
   o Attempt to install from pkg(8);
   o Fall back to pkg_add(1) if pkg(8) installation is not
     successful;
   o Fall back to installing from ports as last resort.
 - Ensure the script is run by root[1].
 - Get OSVERSION from param.h[1].

Provided by:	glebius [1]
Reviewed by:	nwhitehorn, kensmith
Approved by:	kensmith
MFC After:	2 weeks
X-Needs-MFC:	r240586, r240587, r240588
2012-09-26 18:04:16 +00:00
Glen Barber
214e898796 Update usage() in comment section.
Remove CVS_* variables in comments.

MFC after:	1 week
X-MFC-With:	r240586
2012-09-17 02:35:00 +00:00
Glen Barber
738257e157 Update generate-release.sh script:
- Use svn for ports and doc trees
 - When installing a binary textproc/docproj package,
   switch pkg_add(1) to pkg(8) [1]

Reviewed by:	nwhitehorn
Approved by:	nwhitehorn
Enhanced by:	glebius [1]
MFC After:	1 week
X-MFC-To:	9-only
2012-09-17 02:23:03 +00:00
Gleb Smirnoff
4347075067 Use getopts instead of getopt(1).
Suggested by:	jilles
2012-01-15 09:27:00 +00:00
Gleb Smirnoff
75fff7e8ef Autoguess number of make jobs based on hw.ncpu. MAKE_FLAGS
can override this. While here move 'mkdir' down below 'set -e'.
2012-01-14 14:43:22 +00:00
Gleb Smirnoff
404fa74372 - Add possibility to build release from a certain revision, supplied
via -r.
- To ease adding new features, roll out a getopt loop here.

Reviewed by:	nwhitehorn
2012-01-14 09:57:13 +00:00
Nathan Whitehorn
3aad2a9d15 Further automate production release generation by naming files the right
things and generating checksums.

MFC after:	1 week
2011-11-15 18:49:27 +00:00
Nathan Whitehorn
bfc3bab865 Per request of the docs team, install docs as packages, instead of via
the normal distfile mechanism. Thanks to Marc Fonvieille for the patch and
for putting up with me taking entirely too long to commit this!

Submitted by:	blackend
2011-07-09 23:01:54 +00:00
Nathan Whitehorn
0bd47e8362 As requested by many people, with final prodding from Jason Hall, fix this
so that running make release causes make obj to be run before doing
anything. This fixes a bug wherein, when run for the first time, and
without -DNOSRC, make release would attempt to recursively tar up the src
directory including its own output and enter an infinite loop.

While here, make the cross-building stuff work a little more the way it
should if only one of TARGET/TARGET_ARCH is specified.
2011-05-18 17:39:28 +00:00
Nathan Whitehorn
88381ca3e3 Simplify this script somewhat, following excellent suggestions from
Ed Schouten.
2011-05-05 19:17:55 +00:00
Nathan Whitehorn
d40df3b2f2 Make sure to run make obj before release. Trying to run them in one step
doesn't always work reliably.
2011-05-04 02:52:41 +00:00
Nathan Whitehorn
8ef63d0dcd Don't do make release and make install in one step. Setting DESTDIR for
make release has deleterious consequences.
2011-04-11 15:03:01 +00:00
Nathan Whitehorn
299a8b95ac Add an install target to release/Makefile instead of grubbing around
(and requesting that users grub around) in /usr/obj. Also make sure that
make clean removes the bootonly media and clean up that target a little.
2011-04-11 14:30:45 +00:00
Nathan Whitehorn
6f7457a71f Copy all generated ISO images into the release area. 2011-03-27 23:46:52 +00:00
Nathan Whitehorn
3a20439f1c Cause the release target to set up its object directory. It is designed
to be a meta-target, and having it do this avoids it spewing files all
over the source tree by default (and possible recursive tarring if
distributing a src tarball).
2011-03-26 13:58:44 +00:00
Nathan Whitehorn
c0d25a4bbe Add support for checking out ports and doc trees from a CVS repository,
in addition to CVSUP, and add support for alternate SVN roots for src.

Requested by:	jhb
2011-03-19 23:06:17 +00:00
Nathan Whitehorn
12ad0bb143 Thanks to sysinstall for its 15 years of service. And now to sleep,
perchance to dream...
2011-03-14 13:47:17 +00:00
Nathan Whitehorn
3fc77bec6b Fix some typos due to unremoved commented-out lines. A great big pointy
hat goes to me for this one.
2011-03-13 18:02:28 +00:00
Nathan Whitehorn
5921b7ea2e Connect the full doc build (Handbook, etc.) to the build. This is not built
if no doc checkout is found.
2011-03-13 15:08:06 +00:00
Nathan Whitehorn
216c7d1766 Add a wrapper script for Makefile.bsdinstall that does the source
checkout/chroot/compile/release dance that the existing release Makefile
does for those who want a totally pristine release build.
2011-03-11 16:58:21 +00:00