[nycbug-talk] umask in Makefile
N.J. Thomas
njt
Tue Jan 31 15:22:54 EST 2006
* George Georgalis <george at galis.org> [2006-01-31 14:43:37 -0500]:
> Is there any way to set the umask within a makefile for all the files
> it creates?
What I've seen everyone do and what I've started doing myself is to just
create the file in some work sandbox, and then copy it over to the final
location with install(1) or ginstall(1) and use -m to set the mode.
IIRC, autoconf creates an install script automatically and uses that if
there is not one installed in the system.
Thomas
--
N.J. Thomas
njt at ayvali.org
Etiamsi occiderit me, in ipso sperabo
More information about the talk
mailing list