Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/x11 convert from (cd ${foo} && ${MAKE} bar) to ${MAKEDIRT...



details:   https://anonhg.NetBSD.org/src/rev/4cc373fca020
branches:  trunk
changeset: 565579:4cc373fca020
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Apr 13 12:50:34 2004 +0000

description:
convert from  (cd ${foo} && ${MAKE} bar)  to  ${MAKEDIRTARGET} foo bar

diffstat:

 x11/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r da71c62e63e8 -r 4cc373fca020 x11/Makefile
--- a/x11/Makefile      Tue Apr 13 12:43:12 2004 +0000
+++ b/x11/Makefile      Tue Apr 13 12:50:34 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2004/02/23 05:47:47 rtr Exp $
+#      $NetBSD: Makefile,v 1.11 2004/04/13 12:50:34 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -28,27 +28,28 @@
 build: check_X11SRCDIR
        @echo "X11 build started at: ${START_TIME}"
 .for tgt in ${BUILDTARGETS}
-       @(cd ${.CURDIR} && ${MAKE} ${tgt})
+       ${MAKEDIRTARGET} . ${tgt}
 .endfor
        @echo   "X11 build started at:  ${START_TIME}"
        @printf "X11 build finished at: " && date
 
 do-build:
 .for targ in dependall install
-       (cd ${.CURDIR} && ${MAKE} ${targ})
+       ${MAKEDIRTARGET} . ${targ}
 .endfor
 
 .for dir in    tools lib/X11 lib/ICE lib/Xau lib/SM lib/Xext lib/Xt lib/Xpm \
                lib/Xrender lib/GL lib/Xmu lib/dps lib/expat lib
 do-${dir:S/\//-/g}:
 .  for targ in dependall install
-       (cd ${.CURDIR}/${dir} && ${MAKE} ${targ})
+       ${MAKEDIRTARGET} ${dir} ${targ}
 .  endfor
 .endfor
 
 afterinstall: .PHONY
 .if ${MKMAN} != "no"
-       (cd ${NETBSDSRCDIR}/share/man && ${MAKE} WHATISDBDIR=${X11MANDIR} makedb)
+       ${MAKEDIRTARGET} ${NETBSDSRCDIR}/share/man makedb \
+           WHATISDBDIR=${X11MANDIR}
 .endif
 
 



Home | Main Index | Thread Index | Old Index