On Wed, 28 Jan 2009, Adam Sampson wrote:
> "Kjetil S. Matheussen" <[email protected]> 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 [email protected] http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
