don't fail moving empty list of shared modules
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index f4460d6..ae6e8de 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -150,6 +150,6 @@
 # Rules to build and install all shared modules
 sharedmods:	$(SHAREDMODS)
 sharedinstall:	$(SHAREDMODS)
-		mv $(SHAREDMODS) $(DESTSHARED)
+		for i in $(SHAREDMODS); do mv $$i $(DESTSHARED)/$$i; done
 
 # Stuff is appended here by makesetup and make depend