From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miro Bezjak Subject: makefile target: update to latest release? Date: Fri, 8 Nov 2013 19:38:00 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b34364eeab14a04eaaeb0a7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ver0z-0003Jr-AD for emacs-orgmode@gnu.org; Fri, 08 Nov 2013 13:46:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Veqx7-00074S-Dw for emacs-orgmode@gnu.org; Fri, 08 Nov 2013 13:42:41 -0500 Received: from mail-ve0-x22c.google.com ([2607:f8b0:400c:c01::22c]:34820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Veqx7-00074H-6Z for emacs-orgmode@gnu.org; Fri, 08 Nov 2013 13:38:41 -0500 Received: by mail-ve0-f172.google.com with SMTP id oz11so494819veb.3 for ; Fri, 08 Nov 2013 10:38:40 -0800 (PST) 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 --047d7b34364eeab14a04eaaeb0a7 Content-Type: text/plain; charset=UTF-8 Hi all, before attemting to implement the script I was wondering if there exists a makefile target that updates the repository to the latest release? I was thinking something along the lines of: ---------------------------------------- current=... # determine the current version git checkout master git pull origin master latest=... # determine latest release from git log git log --oneline $current...$latest git checkout --branch $latest $latest make clean autoloads ---------------------------------------- I looked at `mk/targets.mk` but didn't find anything similar. Kind regards, Miro --047d7b34364eeab14a04eaaeb0a7 Content-Type: text/html; charset=UTF-8
Hi all,

before attemting to implement the script I was wondering if there exists a
makefile target that updates the repository to the latest release? I was
thinking something along the lines of:

----------------------------------------
current=... # determine the current version

git checkout master
git pull origin master

latest=... # determine latest release from git log

git log --oneline $current...$latest
git checkout --branch $latest $latest

make clean autoloads
----------------------------------------

I looked at `mk/targets.mk` but didn't find anything similar.

Kind regards,
Miro
--047d7b34364eeab14a04eaaeb0a7-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josiah Schwab Subject: Re: makefile target: update to latest release? Date: Fri, 08 Nov 2013 11:20:48 -0800 Message-ID: <87txfmsnsf.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeuF4-0003nK-Aq for emacs-orgmode@gnu.org; Fri, 08 Nov 2013 17:13:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeuE0-0002pa-9f for emacs-orgmode@gnu.org; Fri, 08 Nov 2013 17:09:26 -0500 Received: from mail-pb0-x231.google.com ([2607:f8b0:400e:c01::231]:36446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Verbr-0002nG-VJ for emacs-orgmode@gnu.org; Fri, 08 Nov 2013 14:20:48 -0500 Received: by mail-pb0-f49.google.com with SMTP id um1so562239pbc.36 for ; Fri, 08 Nov 2013 11:20:46 -0800 (PST) In-reply-to: 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: Miro Bezjak Cc: emacs-orgmode@gnu.org Hi Miro, > before attemting to implement the script I was wondering if there exists a > makefile target that updates the repository to the latest release? You may want to take a look at http://orgmode.org/worg/dev/org-build-system.html in particular the targets under "Compatibility and Convenience". Best, Josiah