=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/Makefile,v retrieving revision 1.123 retrieving revision 1.126 diff -u -r1.123 -r1.126 --- src/Makefile 2014/08/26 20:19:25 1.123 +++ src/Makefile 2016/10/04 16:54:31 1.126 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.123 2014/08/26 20:19:25 rpe Exp $ +# $OpenBSD: Makefile,v 1.126 2016/10/04 16:54:31 deraadt Exp $ # # For more information on building in tricky environments, please see @@ -27,7 +27,7 @@ # # 5) If you want to setup a cross-build environment, there is a "cross-gcc" # target available which upon completion of: -# make -f Makefile.cross TARGET= cross-gcc" +# "make -f Makefile.cross TARGET= cross-gcc" # (where is one of the names in the /sys/arch directory) will produce # a set of compilation tools along with the includes in the /usr/cross/ # directory. The "cross-distrib" target will build cross-tools as well as @@ -42,7 +42,7 @@ SUBDIR+= sys .if make(clean) || make(cleandir) || make(obj) -SUBDIR+= distrib regress +SUBDIR+= etc distrib regress .endif regression-tests: @@ -50,7 +50,7 @@ @cd ${.CURDIR}/regress && ${MAKE} depend && exec ${MAKE} regress includes: - cd ${.CURDIR}/include && ${MAKE} prereq && exec ${SUDO} ${MAKE} includes + cd ${.CURDIR}/include && ${MAKE} prereq && exec ${MAKE} includes beforeinstall: cd ${.CURDIR}/etc && exec ${MAKE} DESTDIR=${DESTDIR} distrib-dirs @@ -72,15 +72,15 @@ .ifdef GLOBAL_AUTOCONF_CACHE cp /dev/null ${GLOBAL_AUTOCONF_CACHE} .endif - cd ${.CURDIR}/share/mk && exec ${SUDO} ${MAKE} install - cd ${.CURDIR}/include && ${MAKE} prereq && exec ${SUDO} ${MAKE} includes - ${SUDO} ${MAKE} cleandir + cd ${.CURDIR}/share/mk && exec ${MAKE} install + cd ${.CURDIR}/include && ${MAKE} prereq && exec ${MAKE} includes + ${MAKE} cleandir cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \ - NOMAN=1 exec ${SUDO} ${MAKE} install + NOMAN=1 exec ${MAKE} install cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \ - NOMAN=1 exec ${SUDO} ${MAKE} install - ${MAKE} depend && ${MAKE} && exec ${SUDO} ${MAKE} install - ${SUDO} /bin/sh ${.CURDIR}/distrib/sets/makeetcset ${.CURDIR} ${MAKE} + NOMAN=1 exec ${MAKE} install + ${MAKE} depend && ${MAKE} && exec ${MAKE} install + /bin/sh ${.CURDIR}/distrib/sets/makeetcset ${.CURDIR} ${MAKE} .endif CROSS_TARGETS=cross-env cross-dirs cross-obj cross-includes cross-binutils \