oops - one level too many in rsync
[build.git] / Makefile
index 2472f54..c4b63c0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -663,7 +663,7 @@ $(foreach package,$(ALL),$(eval $(call target_depends,$(package))))
 define target_debian
 $(1).debian:
        mkdir -p DEBIAN/$(1)
-       rsync -av MODULES/$(1) DEBIAN/$(1)
+       rsync -av MODULES/$(1)/ DEBIAN/$(1)/
        make -C DEBIAN/$(1) debian
 endef