From: Glenn Morris Date: Wed, 25 Jun 2014 06:39:03 +0000 (-0700) Subject: nextstep: trivial Makefile simplification X-Git-Tag: emacs-25.0.90~2637^2~26 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=002b161a30f2e819a474fdde9d2b36c32e38786c;p=emacs.git nextstep: trivial Makefile simplification * nextstep/Makefile.in (${ns_appbindir}): New. (${ns_appbindir}/Emacs): Use order-only prereq to create output dir. --- diff --git a/nextstep/ChangeLog b/nextstep/ChangeLog index a3d9b3aa283..45a2dbf427c 100644 --- a/nextstep/ChangeLog +++ b/nextstep/ChangeLog @@ -1,3 +1,8 @@ +2014-06-25 Glenn Morris + + * Makefile.in (${ns_appbindir}): New. + (${ns_appbindir}/Emacs): Use order-only prereq to create output dir. + 2014-06-15 Glenn Morris * Makefile.in (bootstrap-clean): New. diff --git a/nextstep/Makefile.in b/nextstep/Makefile.in index 4198fb29453..52f321109b7 100644 --- a/nextstep/Makefile.in +++ b/nextstep/Makefile.in @@ -43,9 +43,12 @@ ${ns_check_file} ${ns_appdir}: ${srcdir}/${ns_appsrc} ${ns_appsrc} ( cd ${ns_appdir} ; umask 022; tar xf - ) touch ${ns_appdir} -${ns_appbindir}/Emacs: ${ns_appdir} ${ns_check_file} ../src/emacs${EXEEXT} - ${MKDIR_P} ${ns_appbindir} - cp -f ../src/emacs${EXEEXT} ${ns_appbindir}/Emacs +${ns_appbindir}: + ${MKDIR_P} $@ + +${ns_appbindir}/Emacs: ${ns_appdir} ${ns_check_file} ../src/emacs${EXEEXT} | \ + ${ns_appbindir} + cp -f ../src/emacs${EXEEXT} $@ .PHONY: all