emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Makefile: update
@ 2009-06-02  6:27 Konstantin Antipin
  2009-06-02  8:30 ` Carsten Dominik
  2009-06-02 11:25 ` Bernt Hansen
  0 siblings, 2 replies; 6+ messages in thread
From: Konstantin Antipin @ 2009-06-02  6:27 UTC (permalink / raw)
  To: emacs-orgmode mailing list

Hi,
I have a very simple feature request.
Can we add additional target to the makefile in order to simplify
process of keeping up to date with orgmode - development?
like so:
update:
	git pull
	make clean
	make all
	sudo make install

It would be convenient...

best,
Kostya

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Makefile: update
  2009-06-02  6:27 Makefile: update Konstantin Antipin
@ 2009-06-02  8:30 ` Carsten Dominik
  2009-06-02  9:36   ` Konstantin Antipin
  2009-06-02 11:14   ` Friedrich Delgado Friedrichs
  2009-06-02 11:25 ` Bernt Hansen
  1 sibling, 2 replies; 6+ messages in thread
From: Carsten Dominik @ 2009-06-02  8:30 UTC (permalink / raw)
  To: Konstantin Antipin; +Cc: emacs-orgmode mailing list


On Jun 2, 2009, at 8:27 AM, Konstantin Antipin wrote:

> Hi,
> I have a very simple feature request.
> Can we add additional target to the makefile in order to simplify
> process of keeping up to date with orgmode - development?
> like so:
> update:
> 	git pull
> 	make clean
> 	make all
> 	sudo make install
>
> It would be convenient...

Yes.  However, sudo make install is system dependent and may not work  
properly.

I have now added:

update:
	git pull
	make clean
	make all

up2:
	make update
	sudo make install

- Carsten

>
> best,
> Kostya
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Makefile: update
  2009-06-02  8:30 ` Carsten Dominik
@ 2009-06-02  9:36   ` Konstantin Antipin
  2009-06-02 11:14   ` Friedrich Delgado Friedrichs
  1 sibling, 0 replies; 6+ messages in thread
From: Konstantin Antipin @ 2009-06-02  9:36 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode mailing list

Super!
Thanks.

Kostya

On Tue, Jun 2, 2009 at 10:30 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> On Jun 2, 2009, at 8:27 AM, Konstantin Antipin wrote:
>
>> Hi,
>> I have a very simple feature request.
>> Can we add additional target to the makefile in order to simplify
>> process of keeping up to date with orgmode - development?
>> like so:
>> update:
>>        git pull
>>        make clean
>>        make all
>>        sudo make install
>>
>> It would be convenient...
>
> Yes.  However, sudo make install is system dependent and may not work
> properly.
>
> I have now added:
>
> update:
>        git pull
>        make clean
>        make all
>
> up2:
>        make update
>        sudo make install
>
> - Carsten
>
>>
>> best,
>> Kostya
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Makefile: update
  2009-06-02  8:30 ` Carsten Dominik
  2009-06-02  9:36   ` Konstantin Antipin
@ 2009-06-02 11:14   ` Friedrich Delgado Friedrichs
  2009-06-02 12:15     ` Carsten Dominik
  1 sibling, 1 reply; 6+ messages in thread
From: Friedrich Delgado Friedrichs @ 2009-06-02 11:14 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 510 bytes --]

It might seem like a nitpick, but your "up2" target assumes that the
program to process makefiles is called "make" (and not e.g. "gmake"
and it's in the PATH).

I propose:

up2: update
    sudo $(MAKE) install

As make sets the variable MAKE [see info "(make)MAKE Variable" ] and
it's simpler to just list a dependent target if we don't need a
recursive call to make.

-- 
        Friedrich Delgado Friedrichs <friedel@nomaden.org>
                             TauPan on Ircnet and Freenode ;)

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Makefile: update
  2009-06-02  6:27 Makefile: update Konstantin Antipin
  2009-06-02  8:30 ` Carsten Dominik
@ 2009-06-02 11:25 ` Bernt Hansen
  1 sibling, 0 replies; 6+ messages in thread
From: Bernt Hansen @ 2009-06-02 11:25 UTC (permalink / raw)
  To: Konstantin Antipin; +Cc: emacs-orgmode mailing list

Konstantin Antipin <antipin.konstantin@googlemail.com> writes:

> Hi,
> I have a very simple feature request.
> Can we add additional target to the makefile in order to simplify
> process of keeping up to date with orgmode - development?
> like so:
> update:
> 	git pull
> 	make clean
> 	make all
> 	sudo make install
>
> It would be convenient...

You could also do that locally as described here:

http://orgmode.org/worg/org-faq.php#keeping-local-changes-current-with-Org-mode-development

-Bernt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Makefile: update
  2009-06-02 11:14   ` Friedrich Delgado Friedrichs
@ 2009-06-02 12:15     ` Carsten Dominik
  0 siblings, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2009-06-02 12:15 UTC (permalink / raw)
  To: friedel; +Cc: emacs-orgmode

Done.

- Carsten

On Jun 2, 2009, at 1:14 PM, Friedrich Delgado Friedrichs wrote:

> It might seem like a nitpick, but your "up2" target assumes that the
> program to process makefiles is called "make" (and not e.g. "gmake"
> and it's in the PATH).
>
> I propose:
>
> up2: update
>    sudo $(MAKE) install
>
> As make sets the variable MAKE [see info "(make)MAKE Variable" ] and
> it's simpler to just list a dependent target if we don't need a
> recursive call to make.
>
> -- 
>        Friedrich Delgado Friedrichs <friedel@nomaden.org>
>                             TauPan on Ircnet and Freenode ;)
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-02 12:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-02  6:27 Makefile: update Konstantin Antipin
2009-06-02  8:30 ` Carsten Dominik
2009-06-02  9:36   ` Konstantin Antipin
2009-06-02 11:14   ` Friedrich Delgado Friedrichs
2009-06-02 12:15     ` Carsten Dominik
2009-06-02 11:25 ` Bernt Hansen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).