Am Donnerstag, den 29.01.2009, 08:52 +0100 schrieb Peder Hedlund: > Quoting hermann meyer <brummer-@xxxxxx>: > > > Oh it's simple, just let it look like that: > > > > INSTALLPATH=$(DESTDIR)/usr/local/bin/ > > > > In the case $(DESTDIR) isn't set, it would'nt influence the > > installation, if a package-builder use the makefile, the installation > > go's in the package to $(DESTDIR). > > NOOOOOOOOOOOOooooooooooo....... > > It has to be "INSTALLPATH=$(DESTDIR)/bin" and nothing else, this is > how all other programs are set up. And you should check DESTDIR prior > and set it to /usr/local if it isn't defined. > This way I can install it to /opt/jack_capture-0.9.32 (which I prefer, > when compiling), to /bin (well //bin to be precise), to > /usr/local/stuff/bin or whatever. > > - Peder That sound's good, can you give a code example please, how to check in a Makefile if $(DESTDIR) is set ? hermann _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user