diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-07 03:34:46 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-07 03:34:46 -0400 |
commit | 9ea83619baf30c4bd5cc27b51fd580925aa7db8b (patch) | |
tree | 72cf4f38405786217871494c2e39e69d4f1dad01 /move.sh | |
parent | 826cd8f58443fc86d3ea61a4e49d29ee7abb8b1c (diff) | |
parent | 37bb75d08b392517c50f6e97ff27484cfd255c08 (diff) |
Merge branch 'lukeshu/postmove' into lukeshu/master
# Conflicts:
# src/Makefile
# src/grp-boot/Makefile
# src/grp-coredump/Makefile
# src/grp-machine/Makefile
# src/libsystemd/libsystemd-internal/subdir.mk
# src/libudev/Makefile
Diffstat (limited to 'move.sh')
-rwxr-xr-x | move.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -239,7 +239,11 @@ fixup_makefiles() ( -e 's/ \$\(AM_CPPFLAGS\) / $(ALL_CPPFLAGS) /g' \ -e '/^[^# ]*:/ { s|\S+/|$(outdir)/|g }' \ src/libbasic/Makefile \ - src/libsystemd/libsystemd-journal-internal/Makefile + src/libsystemd/libsystemd-journal-internal/Makefile \ + src/udev/Makefile + find -type f -name Makefile|while read -r filename; do + sed -r -i "s|(/\.\.)*/config.mk|/$(realpath -ms --relative-to="${filename%/*}" config.mk)|" "$filename" + done ) move() ( |