From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martyn Jago Subject: Re: local.mk and SUDO Date: Sun, 29 Apr 2012 13:59:15 +0100 Message-ID: References: <87r4v9vycp.fsf@Rainer.invalid> <87ipgkwzof.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOTit-00023X-32 for emacs-orgmode@gnu.org; Sun, 29 Apr 2012 08:59:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOTiq-0006Ls-W8 for emacs-orgmode@gnu.org; Sun, 29 Apr 2012 08:59:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:35853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOTiq-0006JD-Oz for emacs-orgmode@gnu.org; Sun, 29 Apr 2012 08:59:28 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SOTio-0003x4-Qv for emacs-orgmode@gnu.org; Sun, 29 Apr 2012 14:59:26 +0200 Received: from 88-96-171-142.dsl.zen.co.uk ([88.96.171.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Apr 2012 14:59:26 +0200 Received: from martyn.jago by 88-96-171-142.dsl.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Apr 2012 14:59:26 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Achim Gratz writes: > Martyn Jago writes: >>>> diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el >>>> old mode 100644 >>>> new mode 100755 [...] > Then you yourself must most likely have changed the mode of those files > to "executable". There is nothing in the build system that even > attempts to change modes. Hi Achim Since the new makefile uses the `install' command as opposed to `cp' to install files, the following is noted in man install: ,----[*Man install*] | -m Specify an alternate mode. The default mode is set to rwxr-xr-x | (0755). The specified mode may be either an octal or symbolic value; | see chmod(1) for a description of possible mode values. `---- Since the mode of .el files on git is 0644, this causes git to flag the files as modified (since I am running Org from the distribution directory). So the obvious answer is to not to use make install (as per the documentation). This is a heads-up to me since I believed install did more than simply moving .el and .elc files from A to B. However this is new behavior and worth mentioning. 'make install' (no sudo) used to silently `install' (or not as the case may be) and not change modes as above. Personally I wouldn't call it a regression though since make install is pointless IIUC in this situation. Since I can no longer use `make up2' it seems that `make up1' is the correct command for my situation. This works fine except that org-version points to the wrong org-install: --8<---------------cut here---------------start------------->8--- Org-mode version 7.8.09 (release_7.8.09-441-g6732d6.dirty @ /Applications/Emacs.app/Contents/Resources/lisp/org/org-install.el.gz) --8<---------------cut here---------------end--------------->8--- So for my case I've added the target upgrade to local.mk: --8<---------------cut here---------------start------------->8--- upgrade: up1 autoloads --8<---------------cut here---------------end--------------->8--- HTH Best, Martyn > Regards, > Achim.