Avoid creating an empty doc directory.
[gnulib.git] / modules / byteswap
index 8202a3b..5ff0618 100644 (file)
@@ -14,11 +14,10 @@ Makefile.am:
 BUILT_SOURCES += $(BYTESWAP_H)
 EXTRA_DIST += byteswap_.h
 
-# We need the following in order to create <byteswap.h> when the system
+# We need the following in order to create <byteswap.h> when the system
 # doesn't have one.
-all-local $(lib_OBJECTS): $(BYTESWAP_H)
 byteswap.h: byteswap_.h
-       cp $(srcdir)/$< $@-t
+       cp $(srcdir)/byteswap_.h $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += byteswap.h byteswap.h-t