[vorbis-dev] Makefile.in for installing headers
wrobell
wrobell at posexperts.com.pl
Tue Jun 20 04:35:44 PDT 2000
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?
And maybe all install lines i.e.
install -d @prefix@/include/vorbis
change to
install -d $DESTDIR at prefix@/include/vorbis
^^^
o one can install with
make DESTDIR=$RPM_BUILD_ROOT install
It is very useful when creating rpm packages (.deb too?).
[...]
wrobell <wrobell at posexperts.com.pl>
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
More information about the Vorbis-dev
mailing list