summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmove.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/move.sh b/move.sh
index a31fdc31da..6a93b18f54 100755
--- a/move.sh
+++ b/move.sh
@@ -140,7 +140,7 @@ fixup_includes() (
fixup_makefile() {
sed -r \
- -e '/^[^#]*:/ { s|^(\s*)\S+/|\1$(outdir)/| }' \
+ -e '/^[^# ]*:/ { s|^(\s*)\S+/|\1$(outdir)/| }' \
-e 's|^if (.*)|ifneq ($(\1),)|'
}
@@ -149,7 +149,7 @@ fixup_makefiles() (
-e '/^ \$\(AM_V_at\)\$\(MKDIR_P\) \$\(dir \$@\)/d' \
-e 's/ \$\(CFLAGS\) / /g' \
-e 's/ \$\(CPPFLAGS\) / /g' \
- -e '/^[^#]*:/ { s|\S+/|$(outdir)/| }' \
+ -e '/^[^# ]*:/ { s|\S+/|$(outdir)/|g }' \
src/libbasic/Makefile
)