Re: Where to do post installation?

2008-07-07 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Mon, Jul 07, 2008 at 07:58:01PM CEST: > You'll want to use something like > > install-data-hook: > mkdir -p $(DESTDIR)$(localstatedir)/run Erm, for portability, either $(mkdir_p) (Automake >= 1.10) or $(mkinstalldirs) (for compatibility with older Automake) instea

Re: Where to do post installation?

2008-07-07 Thread Ralf Wildenhues
* Steven Woody wrote on Mon, Jul 07, 2008 at 09:17:47AM CEST: > > Thank you, understood. But, when I copy samples from automake manual > and do the following: > > install-data-hook: > mkdir -p $(DESTDIR)/var/run > > and I expect that var/run will be created under my $PREFIX. You'll want to

Re: Create a custom target

2008-07-07 Thread Ralf Wildenhues
* Tavian Barnes wrote on Mon, Jul 07, 2008 at 03:39:07PM CEST: > On Sun, Jul 6, 2008 at 11:25 PM, Ralf Wildenhues wrote: > > > > EXTRA_PROGRAMS = prog > > prog_SOURCES = ... > > bench: prog$(EXEEXT) > >execute prog$(EXEEXT)... > > .PHONY: bench > > This works great, thanks. What does .PHO

Re: Where to do post installation?

2008-07-07 Thread Steven Woody
On Mon, Jul 7, 2008 at 3:17 PM, Steven Woody <[EMAIL PROTECTED]> wrote: > On Mon, Jul 7, 2008 at 1:32 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: >> Hello Steven, >> >> * Steven Woody wrote on Mon, Jul 07, 2008 at 07:20:44AM CEST: >>> >>> After 'make install', I want to do some post-install thi

Re: Create a custom target

2008-07-07 Thread Tavian Barnes
On Sun, Jul 6, 2008 at 11:25 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Hello Tavian, > > please don't top-post, thank you. Sorry, I got lazy. Stupid GMail. > * Tavian Barnes wrote on Sun, Jul 06, 2008 at 07:45:23PM CEST: >> On Sun, Jul 6, 2008 at 1:59 AM, Ralf Wildenhues <[EMAIL PROTECTED

Re: Where to do post installation?

2008-07-07 Thread Steven Woody
On Mon, Jul 7, 2008 at 1:32 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Hello Steven, > > * Steven Woody wrote on Mon, Jul 07, 2008 at 07:20:44AM CEST: >> >> After 'make install', I want to do some post-install things such as >> creating some directories, run a script etc. What is valid metho