"Kjetil S. Matheussen"
<k.s.matheussen(a)notam02.no> 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)