unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: merlyn@stonehenge.com (Randal L. Schwartz)
Cc: emacs-devel@gnu.org
Subject: Re: CVS HEAD still fails to "make all install" incrementally on NextStep/OSX
Date: Mon, 29 Dec 2008 11:22:02 -0800 (PST)	[thread overview]
Message-ID: <200812291922.mBTJM27o027491@mothra.ics.uci.edu> (raw)
In-Reply-To: <86eizru3lz.fsf@blue.stonehenge.com> (Randal L. Schwartz's message of "Sun, 28 Dec 2008 18:17:28 -0800")

merlyn@stonehenge.com (Randal L. Schwartz) writes:

  > repeat on OSX with:
  > 
  >   ./configure --with-ns
  >   make bootstrap install # works so far
  >   touch src/nsterm.m # trigger rebuild, like a cvs pull
  >   make all install # FAILS TO INSTALL
  > 
  > workaround is to always:
  > 
  >   make booststrap install # works, but takes a LOT longer
  > 
  > can someone who made the nextstep/cocoa .app install please fix this?  I'd
  > help, but I don't want to reverse engineer it,
 
Why not?
This is the emacs/Makefile.in patch that added support for NextStep:

Index: Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/Makefile.in,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -3 -p -u -p -r1.356 -r1.357
--- Makefile.in	25 Jun 2008 15:46:23 -0000	1.356
+++ Makefile.in	15 Jul 2008 18:14:52 -0000	1.357
@@ -137,7 +137,7 @@ man1dir=$(mandir)/man1
 infodir=@infodir@
 INFO_FILES=ada-mode autotype calc ccmode cl dbus dired-x ebrowse ediff	\
            efaq eintr elisp emacs emacs-mime epa erc eshell eudc	\
-           flymake forms gnus idlwave info message mh-e newsticker	\
+           flymake forms gnus idlwave info message mh-e newsticker ns-emacs \
            nxml-mode org pcl-cvs pgg rcirc reftex remember sasl sc ses	\
            sieve speedbar tramp vip viper widget woman smtpmail url
 
@@ -167,6 +167,9 @@ x_default_search_path=@x_default_search_
 # Location to install Emacs.app on Mac OS X
 carbon_appdir=@carbon_appdir@
 
+# Location to install Emacs.app under NeXT/Open/GNUstep / Cocoa
+ns_appdir=@ns_appdir@
+
 # Where the etc/emacs.desktop file is to be installed.
 desktopdir=$(datarootdir)/applications
 
@@ -411,6 +414,14 @@ install-arch-dep: mkdir
 		(cd $(DESTDIR)${carbon_appdir}/Emacs.app; umask 022; tar -xvf - \
 			&& cat > /dev/null))) || exit 1; \
 	fi
+	if test "${ns_appdir}" != ""; then \
+	  umask 022; mkdir -p ${ns_appdir}/Emacs.app; \
+	  (cd nextstep/build/Emacs.app; (tar -chf - . | \
+		(cd ${ns_appdir}/Emacs.app; umask 022; tar -xvf - \
+			&& cat > /dev/null))) || exit 1; \
+	  ( cd site-lisp ; tar chf - . ) | \
+	      ( cd ${datadir}/$(EMACSFULL)/site-lisp ; tar xf - ) \
+	fi
 
 ## http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01672.html
 ## Needs to be the user running install, so configure can't set it.

Debugging this should not be that difficult if you have access to an OSX
machine, which most people here don't...




  reply	other threads:[~2008-12-29 19:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-29  2:17 CVS HEAD still fails to "make all install" incrementally on NextStep/OSX Randal L. Schwartz
2008-12-29 19:22 ` Dan Nicolaescu [this message]
2008-12-30 17:37   ` Jan Djärv
2008-12-30 17:41     ` Randal L. Schwartz
2008-12-30 20:16       ` Jan Djärv
2008-12-31 19:51         ` Randal L. Schwartz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200812291922.mBTJM27o027491@mothra.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=merlyn@stonehenge.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).