summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 15:35:24 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 15:35:24 -0400
commit27a55617f88ea8390c6e558965944cab80069046 (patch)
tree92dfd7e34a51b04c1eb6f14db6690bd12d0323f1
parent2ed13bce1704bfb3f9b80134acc25cbf091b530e (diff)
More Makefile fixup
-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() {