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
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
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
>
>
[-- 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
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
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