diff options
| author | Paul Richards <paul@FreeBSD.org> | 1994-08-26 20:16:58 +0000 |
|---|---|---|
| committer | Paul Richards <paul@FreeBSD.org> | 1994-08-26 20:16:58 +0000 |
| commit | 95516197306dca0b7d1e5a2ad02870e44dc084fa (patch) | |
| tree | 6b47b7d790d72fc4446c01cef722dc1038a17ba1 | |
| parent | e410457b740a1c9bd3ff14bb48713099c7d45a4e (diff) | |
Notes
| -rw-r--r-- | Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
@@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.11 1994/08/25 10:47:30 paul Exp $ +# $Id: Makefile,v 1.12 1994/08/25 14:45:46 paul Exp $ # # Make command line options: # -DCLOBBER will remove /usr/include and MOST of /usr/lib @@ -85,7 +85,7 @@ CLEANDIR= clean CLEANDIR= cleandir .endif -world: directories cleandist mk includes libraries tools +world: directories update cleandist mk includes libraries tools @echo "--------------------------------------------------------------" @echo " Rebuilding ${DESTDIR} The whole thing" @echo "--------------------------------------------------------------" @@ -93,12 +93,27 @@ world: directories cleandist mk includes libraries tools ${MAKE} depend all install cd ${.CURDIR}/share/man && ${MAKE} makedb + directories: @echo "--------------------------------------------------------------" @echo " Making directories" @echo "--------------------------------------------------------------" @echo " XXX Not yet ready in 2.0.0" -# XXX cd ${.CURDIR}/etc && ${MAKE} distrib-dirs + cd ${.CURDIR}/etc && ${MAKE} distrib-dirs + +update: +.if defined(SUP_UPDATE) + @echo "--------------------------------------------------------------" + @echo "Running sup" + @echo "--------------------------------------------------------------" + @sup -v ${SUPFILE} +.endif +.if defined(CVS_UPDATE) + @echo "--------------------------------------------------------------" + @echo "Updating /usr/src from cvs repository" ${CVSROOT} + @echo "--------------------------------------------------------------" + cd ${.CURDIR} && cvs update -P -d +.endif cleandist: .if !defined(NOCLEANDIR) @@ -178,10 +193,6 @@ libraries: cd ${.CURDIR}/secure/lib && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} .endif -.if exists(sys) - cd ${.CURDIR}/sys/libkern && \ - ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} -.endif .if exists(lib) cd ${.CURDIR}/lib && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} |
