[LAU] [ANN] jack_capture V0.9.32

hermann meyer brummer- at web.de
Thu Jan 29 04:15:09 EST 2009


Am Donnerstag, den 29.01.2009, 08:52 +0100 schrieb Peder Hedlund:
> Quoting hermann meyer <brummer- at web.de>:
> 
> > 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




More information about the Linux-audio-user mailing list