summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmove.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/move.sh b/move.sh
index 083298ce63..03fb82d321 100755
--- a/move.sh
+++ b/move.sh
@@ -141,6 +141,12 @@ fixup_includes() (
fixup_makefiles() (
find src -type f -name Makefile \
-exec sed -ri '/^[^#]*:/ { s|^(\s*)\S+/|\1$(outdir)/| }' -- {} +
+ sed -ri \
+ -e '/^ \$\(AM_V_at\)\$\(MKDIR_P\) \$\(dir \$@\)/d' \
+ -e '/ \$\(CFLAGS\) / /g' \
+ -e '/ \$\(CPPFLAGS\) / /g' \
+ -e '/^[^#]*:/ { s|\S+/|$(outdir)/| }'
+ src/libbasic/Makefile
)
move() {