On Wed, 28 Jan 2009, Adam Sampson wrote:
> "Kjetil S. Matheussen" <k.s.matheussen@email-addr-hidden> writes:
>
>> Sure, but I'm not familiar with the use of DESTDIR. How do you want
>> the makefile to look?
>
> Something like this, so it supports both prefix and DESTDIR, creates the
> directories it needs if they don't exist, depends on the binaries being
> built first, and uses install rather than cp (which fails if the
> binary's in use):
>
> DESTDIR =
> prefix = /usr/local
> bindir = $(prefix)/bin
>
> targets = jack_capture jack_capture_gui jack_capture_gui2
>
> install: $(targets)
> mkdir -p $(DESTDIR)$(bindir)
> install -m755 $(targets) $(DESTDIR)$(bindir)
>
Thanks, added to the Makefile.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu Jan 29 16:15:08 2009
This archive was generated by hypermail 2.1.8 : Thu Jan 29 2009 - 16:15:08 EET