summaryrefslogtreecommitdiff
path: root/tools/notsd-move
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-15 01:56:36 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-15 01:56:36 -0400
commitbe6cdcb499515a8dc200440f9c0f95d16edbaa2d (patch)
tree9b7626a8a5341707648aa97f173954d0e94ca8d4 /tools/notsd-move
parent3e439de4e3773f26c7efc8d84a57cf2530883739 (diff)
parentca23ffae30b2cd8e2ac7f54f77a6ff8c59e3876f (diff)
Merge branch 'notsystemd/postmove' into notsystemd/master
# Conflicts: # build-aux/Makefile.each.tail/50-sd.mk # build-aux/Makefile.each.tail/70-man.mk # src/grp-resolve/libbasic-dns/Makefile # src/grp-system/libcore/Makefile # tools/notsd-move
Diffstat (limited to 'tools/notsd-move')
-rwxr-xr-xtools/notsd-move4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/notsd-move b/tools/notsd-move
index 5a907109bd..2f6ad3f1b0 100755
--- a/tools/notsd-move
+++ b/tools/notsd-move
@@ -742,12 +742,12 @@ breakup_makefile() (
fixup_makefile() {
sed -r \
-e '#### Specific complete strings #####' \
- -e 's|\$\(CPP\)·\$\(CFLAGS\)·\$\(AM_CPPFLAGS\)·\$\(CPPFLAGS\)·|$(CPP) $(sd.ALL_CPPFLAGS) |g' \
+ -e 's|\$\(CPP\) \$\(CFLAGS\) \$\(AM_CPPFLAGS\) \$\(CPPFLAGS\)|$(CPP) $(sd.ALL_CPPFLAGS)|g' \
-e '/^ \$\(AM_V_at\)\$\(MKDIR_P\) \$\(dir \$@\)/d' \
-e '#### General cases #################' \
-e '/^[^# ]*:/ { s|^(\s*)\S+/|\1$(outdir)/| }' \
-e 's|^if (.*)|ifneq ($(\1),)|' \
- -e '/\bAM_(C|CPP|LD)FLAGS\b/d' \
+ -e '/^\s*\$\(AM_(C|CPP|LD)FLAGS\b/d' \
-e 's|--version-script=.*/([^/]+)\.sym|--version-script=$(srcdir)/\1.sym|g'
}