summaryrefslogtreecommitdiff
path: root/move.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 15:43:15 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 15:43:15 -0400
commit92baee2fd2b0f0262de852eb6bc2ef0a3e63689a (patch)
tree13210f979c3df84875c1ccf99c162f5cc470cfd9 /move.sh
parent735e73661634b922fbc014b798d1040981d5c962 (diff)
oops
Diffstat (limited to 'move.sh')
-rwxr-xr-xmove.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/move.sh b/move.sh
index e72f781a46..a31fdc31da 100755
--- a/move.sh
+++ b/move.sh
@@ -147,18 +147,22 @@ fixup_makefile() {
fixup_makefiles() (
sed -ri \
-e '/^ \$\(AM_V_at\)\$\(MKDIR_P\) \$\(dir \$@\)/d' \
- -e '/ \$\(CFLAGS\) / /g' \
- -e '/ \$\(CPPFLAGS\) / /g' \
- -e '/^[^#]*:/ { s|\S+/|$(outdir)/| }'
+ -e 's/ \$\(CFLAGS\) / /g' \
+ -e 's/ \$\(CPPFLAGS\) / /g' \
+ -e '/^[^#]*:/ { s|\S+/|$(outdir)/| }' \
src/libbasic/Makefile
)
-move() {
+move() (
+ >&2 echo ' => move_files'
move_files
+ >&2 echo ' => breakup_makefile'
breakup_makefile
+ >&2 echo ' => fixup_includes'
fixup_includes
+ >&2 echo ' => fixup_makefiles'
fixup_makefiles
-}
+)
main() {
set -e