From: Jan Djärv Date: Mon, 2 Sep 2013 07:01:53 +0000 (+0200) Subject: Fix copying of nextstep/Emacs.app for make -j install X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/de3d0b572de7b7c03ba3a2c4153d89e50f411da9 Fix copying of nextstep/Emacs.app for make -j install * configure.ac: Add ns_check_file. * nextstep/Makefile.in (${ns_check_file}): Add so Emacs.app gets properly updated when doing parallel make install. --- diff --git a/ChangeLog b/ChangeLog index 14bac06721..ba6c22c13b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-09-02 Jan Djärv + + * configure.ac: Add ns_check_file. + 2013-08-31 Glenn Morris * configure.ac (--with-sound): Rename ossaudio to bsd-ossaudio, diff --git a/configure.ac b/configure.ac index 6cafa3eda5..2d12a8f829 100644 --- a/configure.ac +++ b/configure.ac @@ -4897,10 +4897,13 @@ if test "$HAVE_NS" = "yes"; then if test "$NS_IMPL_GNUSTEP" = yes; then AC_CONFIG_FILES([nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:nextstep/templates/Info-gnustep.plist.in \ nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop:nextstep/templates/Emacs.desktop.in]) + ns_check_file=Resources/Info-gnustep.plist else AC_CONFIG_FILES([nextstep/Cocoa/Emacs.base/Contents/Info.plist:nextstep/templates/Info.plist.in \ nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:nextstep/templates/InfoPlist.strings.in]) + ns_check_file=Contents/Info.plist fi + AC_SUBST(ns_check_file) fi dnl Obviously there is duplication here wrt $SUBDIR_MAKEFILES. diff --git a/nextstep/ChangeLog b/nextstep/ChangeLog index 7e5e7b520d..42086ec100 100644 --- a/nextstep/ChangeLog +++ b/nextstep/ChangeLog @@ -1,3 +1,8 @@ +2013-09-02 Jan Djärv + + * Makefile.in (${ns_check_file}): Add so Emacs.app gets properly + updated when doing parallel make install. + 2013-08-28 Paul Eggert * Makefile.in (SHELL): Now @SHELL@, not /bin/sh, diff --git a/nextstep/Makefile.in b/nextstep/Makefile.in index 8e768f7004..3d80ddb7ad 100644 --- a/nextstep/Makefile.in +++ b/nextstep/Makefile.in @@ -31,8 +31,9 @@ MKDIR_P = @MKDIR_P@ ns_appdir = @ns_appdir@ ns_appbindir = @ns_appbindir@ ns_appsrc = @ns_appsrc@ +ns_check_file = @ns_appdir@/@ns_check_file@ -${ns_appdir}: ${srcdir}/${ns_appsrc} ${ns_appsrc} +${ns_check_file} ${ns_appdir}: ${srcdir}/${ns_appsrc} ${ns_appsrc} rm -rf ${ns_appdir} ${MKDIR_P} ${ns_appdir} ( cd ${srcdir}/${ns_appsrc} ; tar cfh - . ) | \ @@ -42,7 +43,7 @@ ${ns_appdir}: ${srcdir}/${ns_appsrc} ${ns_appsrc} ( cd ${ns_appdir} ; umask 022; tar xf - ) touch ${ns_appdir} -${ns_appbindir}/Emacs: ${ns_appdir} ../src/emacs${EXEEXT} +${ns_appbindir}/Emacs: ${ns_appdir} ${ns_check_file} ../src/emacs${EXEEXT} ${MKDIR_P} ${ns_appbindir} cp -f ../src/emacs${EXEEXT} ${ns_appbindir}/Emacs