diff options
author | bde <bde@FreeBSD.org> | 1996-10-25 14:22:50 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-25 14:22:50 +0000 |
commit | 4641489181b12ec71fc0ab7c110a656b6a9fca48 (patch) | |
tree | 614a16da8483cd1b8d2defe3c799cf4f6b4bd82e /Makefile | |
parent | d24708a137dfe5751af118f66cc0a095e2bab88f (diff) | |
download | FreeBSD-src-4641489181b12ec71fc0ab7c110a656b6a9fca48.zip FreeBSD-src-4641489181b12ec71fc0ab7c110a656b6a9fca48.tar.gz |
Improved comment about `all' target.
Use a for loop instead of massive duplication in the build-tools target.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.106 1996/10/06 02:17:43 jkh Exp $ +# $Id: Makefile,v 1.107 1996/10/14 12:58:47 peter Exp $ # # Make command line options: # -DCLOBBER will remove /usr/include @@ -23,8 +23,10 @@ # update - convenient way to update your source tree (eg: sup/cvs) # most - build user commands, no libraries or include files # installmost - install user commands, no libraries or include files -# all - run through SUBDIR and build everything. This is an implicit -# rule, not particularly useful for everybody. Use 'world'. +# +# Standard targets (not defined here) are documented in the makefiles in +# /usr/share/mk. These include: +# obj depend all install clean cleandepend cleanobj # Put initial settings here. @@ -495,19 +497,16 @@ libraries: # compile and install. # build-tools: - cd ${.CURDIR}/usr.bin/symorder && ${MAKE} depend && \ - ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} - cd ${.CURDIR}/usr.bin/sgmls && ${MAKE} depend && \ - ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} - cd ${.CURDIR}/usr.bin/sgmlfmt && ${MAKE} depend && \ - ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} - cd ${.CURDIR}/share/sgml && ${MAKE} depend && \ - ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} - cd ${.CURDIR}/usr.sbin/zic && ${MAKE} depend && \ - ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} - cd ${.CURDIR}/gnu/usr.bin/awk && ${MAKE} depend && \ - ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} - cd ${.CURDIR}/gnu/usr.bin/groff && ${MAKE} depend && \ +.for d in \ + usr.bin/symorder \ + usr.bin/sgmls \ + usr.bin/sgmlfmt \ + share/sgml \ + usr.sbin/zic \ + gnu/usr.bin/awk \ + gnu/usr.bin/groff + cd ${.CURDIR}/$d && ${MAKE} depend && \ ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} +.endfor .include <bsd.subdir.mk> |