[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/Makefile between version 1.193 and 1.199

version 1.193, 2002/12/21 16:43:33 version 1.199, 2003/01/26 06:19:12
Line 33 
Line 33 
 #  #
 # Targets:  # Targets:
 #   build:  #   build:
 #       Builds a full release of NetBSD in DESTDIR.  If BUILD_DONE is  #       Builds a full release of NetBSD in DESTDIR, except for the
 #       set, this is an empty target.  #       /etc configuration files.
   #       If BUILD_DONE is set, this is an empty target.
   #   distribution:
   #       Builds a full release of NetBSD in DESTDIR, including the /etc
   #       configuration files.
   #   buildworld:
   #       As per `make distribution', except that it ensures that DESTDIR
   #       is not the root directory.
   #   installworld:
   #       Install the distribution from DESTDIR to INSTALLWORLDDIR (which
   #       defaults to the root directory).  Ensures that INSTALLWORLDDIR
   #       is the not root directory if cross compiling.
 #   release:  #   release:
 #       Does a `make build,' and then tars up the DESTDIR files  #       Does a `make build', and then tars up the DESTDIR files
 #       into RELEASEDIR, in release(7) format. (See etc/Makefile for  #       into RELEASEDIR/${MACHINE}, in release(7) format.
 #       more information on this.)  #       (See etc/Makefile for more information on this.)
 #   regression-tests:  #   regression-tests:
 #       Runs the regression tests in "regress" on this host.  #       Runs the regression tests in "regress" on this host.
 #  #
Line 184  build:
Line 195  build:
 #  #
   
 distribution buildworld:  distribution buildworld:
 .if make(buildworld) && (${DESTDIR} == "" || ${DESTDIR} == "/")  .if make(buildworld) && \
       (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")
         @echo "Won't make ${.TARGET} with DESTDIR=/"          @echo "Won't make ${.TARGET} with DESTDIR=/"
         @false          @false
 .endif  .endif
Line 206  HOST_UNAME_S!= uname -s
Line 218  HOST_UNAME_S!= uname -s
 HOST_UNAME_M!=  uname -m  HOST_UNAME_M!=  uname -m
   
 installworld:  installworld:
 .if (${DESTDIR} == "" || ${DESTDIR} == "/")  .if (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")
         @echo "Can't make ${.TARGET} to DESTDIR=/"          @echo "Can't make ${.TARGET} to DESTDIR=/"
         @false          @false
 .endif  .endif
Line 229  installworld:
Line 241  installworld:
         @printf "make ${.TARGET} finished at: " && date          @printf "make ${.TARGET} finished at: " && date
   
 #  #
   # Create sets from $DESTDIR into $RELEASEDIR
   #
   
   sets:
           (cd ${.CURDIR}/distrib/sets && ${MAKE} maketars)
   
   #
 # Build a release or snapshot (implies "make build").  Note that  # Build a release or snapshot (implies "make build").  Note that
 # in this case, the set lists will be checked before the tar files  # in this case, the set lists will be checked before the tar files
 # are made.  # are made.

Legend:
Removed from v.1.193  
changed lines
  Added in v.1.199

CVSweb <webmaster@jp.NetBSD.org>