[vorbis-dev] Makefile.in for installing headers

David Terrell dbt at meat.net
Thu Jun 22 01:09:43 PDT 2000



On Wed, Jun 21, 2000 at 05:48:54PM +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/
> > > > Is there any benefit of doing so ?
> > > minimal set of tools... and it is nice i think
> > 
> > So this is 100% stylistic issue ?
> yes...

No.  Use 'install' wherever possible, the permissions are correct then.
Imagine if an admin untars the source with a umask of 077 then cp's the
files with the makefile.  Nobody can read them...

BSD wrote 'install' for a reason :)


-- 
David Terrell           |  "Please note that calling an attacker
dbt at meat.net            |  'lame' is not an approved security method."
http://wwn.nebcorp.com/ |    - Benjy Feen

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




More information about the Vorbis-dev mailing list