aboutsummaryrefslogtreecommitdiffstats
path: root/module/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'module/Makefile.in')
-rw-r--r--module/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/Makefile.in b/module/Makefile.in
index 935bd2663..eca7691ae 100644
--- a/module/Makefile.in
+++ b/module/Makefile.in
@@ -66,8 +66,9 @@ modules_uninstall:
distdir:
list='$(subdir-m)'; for subdir in $$list; do \
- (cd @top_srcdir@/module && find $$subdir -name '*.c' -o -name '*.h' -o -name '*.S' |\
- xargs cp --parents -t $$distdir); \
+ (cd @top_srcdir@/module && find $$subdir \
+ -name '*.c' -o -name '*.h' -o -name '*.S' | \
+ xargs cp --parents -t @abs_top_builddir@/module/$$distdir); \
done
distclean maintainer-clean: clean