[vorbis-dev] Makefile.in for installing headers

Tomasz Wegrzanowski maniek at beer.com
Tue Jun 20 10:14:29 PDT 2000



On Tue, Jun 20, 2000 at 01:35:44PM +0200, wrobell wrote:
> On Tue, Jun 20, 2000 at 12:31:47PM +0200, Tomasz Wegrzanowski wrote:
> [...]
> > install: all
> > 	mkdir -p @prefix@/include/vorbis
> > 	mkdir -p @prefix@/include/vorbis/book
> > 	cp -a vorbis/*.h @prefix@/include/vorbis/
> > 	cp -a vorbis/book/*.vqh @prefix@/include/vorbis/book/
> > 
> > uninstall:
> > 	rm -R @prefix@/include/vorbis
> 
> What about using "install" instead of mkdir and cp?

<I'm asking, not claiming you're wrong.>
Is there any benefit of doing so ?

> And maybe all install lines i.e.
> 
> 	install -d @prefix@/include/vorbis
> 
> change to
> 
> 	install -d $DESTDIR at prefix@/include/vorbis
>                     ^^^
> 
> so one can install with
> 
>   make DESTDIR=$RPM_BUILD_ROOT install
> 
> It is very useful when creating rpm packages (.deb too?).

<I'm asking, not claiming you're wrong.>
Any reason not to add parameter --prefix to ./configure ?
@prefix@ isn't used by sources, only by Makefile's.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list