The patch below allows the sequence of steps to build the base system to 
be the same as the steps for building xenocara. essentially:

# make bootstrap
# make obj
# make
# make release

At least for me, it's nice to have to type (and remember) fewer 
keystrokes. No patch for release(8) for now, since the old procedure will 
continue to work...

Index: Makefile
===================================================================
RCS file: /usr/cvs/src/Makefile,v
retrieving revision 1.114
diff -u -r1.114 Makefile
--- Makefile    2 Dec 2005 01:17:20 -0000       1.114
+++ Makefile    25 Jan 2010 03:59:32 -0000
@@ -57,6 +57,9 @@
 includes:
        cd ${.CURDIR}/include && ${MAKE} prereq && exec ${SUDO} ${MAKE} includes
 
+bootstrap:
+       @cd ${.CURDIR}/etc && env DESTDIR=/ ${SUDO} ${MAKE} distrib-dirs
+
 beforeinstall:
        cd ${.CURDIR}/etc && exec ${MAKE} DESTDIR=${DESTDIR} distrib-dirs
        cd ${.CURDIR}/include && exec ${MAKE} includes
@@ -78,6 +81,9 @@
        cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \
            NOMAN=1 exec ${SUDO} ${MAKE} install
        ${MAKE} depend && ${MAKE} && exec ${SUDO} ${MAKE} install
+
+release:
+       @cd ${.CURDIR}/etc && ${MAKE} release
 
 CROSS_TARGETS=cross-env cross-dirs cross-obj cross-includes cross-binutils \
        cross-gcc cross-tools cross-lib cross-bin cross-etc-root-var \

Reply via email to