Add gnupload module.
[gnulib.git] / modules / unistd
index edcae83..f54499f 100644 (file)
@@ -2,7 +2,6 @@ Description:
 A <unistd.h> for systems lacking it.
 
 Files:
-lib/unistd_.h
 m4/unistd_h.m4
 
 Depends-on:
@@ -12,14 +11,12 @@ gl_HEADER_UNISTD
 
 Makefile.am:
 BUILT_SOURCES += $(UNISTD_H)
-EXTRA_DIST += unistd_.h
-
-# We need the following in order to create <byteswap.h> when the system
-# doesn't have one.
-unistd.h: unistd_.h
-       cp $(srcdir)/unistd_.h $@-t
-       mv $@-t $@
-MOSTLYCLEANFILES += unistd.h unistd.h-t
+
+# We need the following in order to create an empty placeholder for
+# <unistd.h> when the system doesn't have one.
+unistd.h:
+       echo '/* Empty placeholder for $@.  */' >$@
+MOSTLYCLEANFILES += unistd.h
 
 Include:
 #include <unistd.h>