summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 15:51:52 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 15:51:52 -0400
commit192d82912f055a2b4a2b5c02f0ef69b002322bba (patch)
tree7002dba8173d804f4276bef06963072a9a7c5357
parent92baee2fd2b0f0262de852eb6bc2ef0a3e63689a (diff)
fix?
-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
)