Mark generated files as "DO NOT EDIT".
[pspp] / modules / netinet_in
index 9ab4a2764e175a23ad706d3c42b41dae64aa3f71..2aac90e1cbf214938c52b6de5f2c223df610e091 100644 (file)
@@ -18,8 +18,9 @@ BUILT_SOURCES += $(NETINET_IN_H)
 netinet/in.h:
        test -d netinet || mkdir netinet
        rm -f $@-t $@
-       echo '#include <sys/socket.h>' >$@-t
-       chmod a-x $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         echo '#include <sys/socket.h>'; \
+       } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
 MOSTLYCLEANDIRS += netinet