Don't make generated files read-only. That would bother too many
[gnulib.git] / modules / poll
index 4695af2..9784c43 100644 (file)
@@ -15,19 +15,18 @@ Makefile.am:
 BUILT_SOURCES += $(POLL_H)
 EXTRA_DIST += poll_.h
 
-# We need the following in order to create an <poll.h> when the system
+# We need the following in order to create <poll.h> when the system
 # doesn't have one.
-all-local $(lib_OBJECTS): $(POLL_H)
 poll.h: poll_.h
-       cp $(srcdir)/poll_.h $@-t
-       mv $@-t $@
+       cp -f $(srcdir)/poll_.h $@-t
+       mv -f $@-t $@
 MOSTLYCLEANFILES += poll.h poll.h-t
 
 Include:
 #include <poll.h>
 
 License:
-GPL
+LGPL
 
 Maintainer:
 Paolo Bonzini  <bonzini@gnu.org>