diff options
author | Jim Meyering <jim@meyering.net> | 2006-09-06 21:58:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-09-06 21:58:00 +0000 |
commit | d1aadab21bf8755e0fb75a838dc650e73f6ee78d (patch) | |
tree | 0f674efb9371db835069405e0bc9c2afe4d80f05 /modules/sys_socket | |
parent | 432f6b15b21916c7e9b99e5610741070c4f30c8f (diff) | |
download | gnulib-d1aadab21bf8755e0fb75a838dc650e73f6ee78d.tar.gz |
Make generated files be read-only.
* modules/alloca-opt (Makefile.am): Work also when $@ is read-only.
Ensure that each generated file is now read-only.
* modules/argz: Likewise.
* modules/arpa_inet: Likewise.
* modules/byteswap: Likewise.
* modules/configmake: Likewise.
* modules/fcntl: Likewise.
* modules/fnmatch: Likewise.
* modules/getopt: Likewise.
* modules/glob: Likewise.
* modules/inttypes: Likewise.
* modules/netinet_in: Likewise.
* modules/poll: Likewise.
* modules/stdbool: Likewise.
* modules/stdint: Likewise.
* modules/sys_select: Likewise.
* modules/sys_socket: Likewise.
* modules/sys_stat: Likewise.
* modules/sysexits: Likewise.
* modules/localcharset: Same as above, but continue using temporary
file named "t-$@" (why different?) rather than the "$@-t" used
everywhere else.
* modules/sysexits (Makefile.am): Replace literal occurrences
of "sysexit.h" more readable, and more consistent, "$@".
Diffstat (limited to 'modules/sys_socket')
-rw-r--r-- | modules/sys_socket | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/sys_socket b/modules/sys_socket index cf9b86e589..aa869548d5 100644 --- a/modules/sys_socket +++ b/modules/sys_socket @@ -19,7 +19,9 @@ EXTRA_DIST += socket_.h # doesn't have one that works with the given compiler. sys/socket.h: socket_.h test -d sys || mkdir sys + rm -f $@-t $@ cp $(srcdir)/socket_.h $@-t + chmod a-x $@-t mv $@-t $@ MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t MOSTLYCLEANDIRS += sys |