* MODULES.html.sh: Document tempname.
[gnulib.git] / modules / sys_select
index 019b6de..76ae6f9 100644 (file)
@@ -18,8 +18,9 @@ BUILT_SOURCES += $(SYS_SELECT_H)
 sys/select.h:
        test -d sys || mkdir sys
        rm -f $@-t $@
-       echo '#include <sys/socket.h>' >$@-t
-       chmod a-w $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         echo '#include <sys/socket.h>'; \
+       } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
 MOSTLYCLEANDIRS += sys