summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hwdb/Makefile2
-rwxr-xr-xmove.sh2
-rw-r--r--src/Makefile2
-rw-r--r--src/busctl/Makefile2
-rw-r--r--src/grp-boot/Makefile2
-rw-r--r--src/grp-boot/bootctl/Makefile2
-rw-r--r--src/grp-boot/systemd-boot/Makefile2
-rw-r--r--src/grp-coredump/Makefile2
-rw-r--r--src/grp-coredump/coredumpctl/Makefile2
-rw-r--r--src/grp-coredump/systemd-coredump/Makefile2
-rw-r--r--src/grp-machine/Makefile2
-rw-r--r--src/grp-machine/libmachine-core/Makefile2
-rw-r--r--src/grp-machine/machinectl/Makefile2
-rw-r--r--src/grp-machine/nss-mymachines/Makefile2
-rw-r--r--src/grp-machine/systemd-machined/Makefile2
-rw-r--r--src/grp-resolve/systemd-resolved/Makefile2
-rw-r--r--src/grp-system/systemctl/Makefile2
-rw-r--r--src/grp-system/systemd/Makefile2
-rw-r--r--src/grp-timedate/systemd-timedated/Makefile2
-rw-r--r--src/grp-timedate/timedatectl/Makefile2
-rw-r--r--src/hostname/Makefile2
-rw-r--r--src/import/Makefile2
-rw-r--r--src/initctl/Makefile2
-rw-r--r--src/journal-remote/Makefile2
-rw-r--r--src/journal/Makefile2
-rw-r--r--src/kernel-install/Makefile2
-rw-r--r--src/libbasic/Makefile2
-rw-r--r--src/libbus-proxy-core/Makefile2
-rw-r--r--src/libcore/Makefile2
-rw-r--r--src/libfirewall/Makefile2
-rw-r--r--src/libshared/Makefile2
-rw-r--r--src/libsystemd-network/Makefile2
-rw-r--r--src/libsystemd/Makefile2
-rw-r--r--src/libsystemd/compat-libs/Makefile2
-rw-r--r--src/libsystemd/libsystemd-internal/Makefile2
-rw-r--r--src/libsystemd/libsystemd-journal-internal/Makefile2
-rw-r--r--src/libudev/Makefile2
-rw-r--r--src/libudev/src/Makefile2
-rw-r--r--src/locale/Makefile2
-rw-r--r--src/login/Makefile2
-rw-r--r--src/machine-id-setup/Makefile2
-rw-r--r--src/modules-load/Makefile2
-rw-r--r--src/network/Makefile2
-rw-r--r--src/nss-myhostname/Makefile2
-rw-r--r--src/sleep/Makefile2
-rw-r--r--src/socket-proxy/Makefile2
-rw-r--r--src/sysctl/Makefile2
-rw-r--r--src/systemd-ac-power/Makefile2
-rw-r--r--src/systemd-activate/Makefile2
-rw-r--r--src/systemd-analyze/Makefile2
-rw-r--r--src/systemd-ask-password/Makefile2
-rw-r--r--src/systemd-backlight/Makefile2
-rw-r--r--src/systemd-binfmt/Makefile2
-rw-r--r--src/systemd-bootchart/Makefile2
-rw-r--r--src/systemd-bus-proxyd/Makefile2
-rw-r--r--src/systemd-cgls/Makefile2
-rw-r--r--src/systemd-cgroups-agent/Makefile2
-rw-r--r--src/systemd-cgtop/Makefile2
-rw-r--r--src/systemd-cryptsetup/Makefile2
-rw-r--r--src/systemd-dbus1-generator/Makefile2
-rw-r--r--src/systemd-debug-generator/Makefile2
-rw-r--r--src/systemd-delta/Makefile2
-rw-r--r--src/systemd-detect-virt/Makefile2
-rw-r--r--src/systemd-escape/Makefile2
-rw-r--r--src/systemd-firstboot/Makefile2
-rw-r--r--src/systemd-fsck/Makefile2
-rw-r--r--src/systemd-fstab-generator/Makefile2
-rw-r--r--src/systemd-getty-generator/Makefile2
-rw-r--r--src/systemd-gpt-auto-generator/Makefile2
-rw-r--r--src/systemd-hibernate-resume/Makefile2
-rw-r--r--src/systemd-hwdb/Makefile2
-rw-r--r--src/systemd-notify/Makefile2
-rw-r--r--src/systemd-nspawn/Makefile2
-rw-r--r--src/systemd-path/Makefile2
-rw-r--r--src/systemd-quotacheck/Makefile2
-rw-r--r--src/systemd-random-seed/Makefile2
-rw-r--r--src/systemd-rc-local-generator/Makefile2
-rw-r--r--src/systemd-remount-fs/Makefile2
-rw-r--r--src/systemd-reply-password/Makefile2
-rw-r--r--src/systemd-rfkill/Makefile2
-rw-r--r--src/systemd-run/Makefile2
-rw-r--r--src/systemd-shutdown/Makefile2
-rw-r--r--src/systemd-stdio-bridge/Makefile2
-rw-r--r--src/systemd-system-update-generator/Makefile2
-rw-r--r--src/systemd-sysv-generator/Makefile2
-rw-r--r--src/systemd-timesync/Makefile2
-rw-r--r--src/systemd-tmpfiles/Makefile2
-rw-r--r--src/systemd-tty-ask-password-agent/Makefile2
-rw-r--r--src/systemd-update-done/Makefile2
-rw-r--r--src/systemd-update-utmp/Makefile2
-rw-r--r--src/systemd-vconsole/Makefile2
-rw-r--r--src/sysusers/Makefile2
-rw-r--r--src/test/Makefile2
-rw-r--r--src/udev/Makefile2
-rw-r--r--src/udev/ata_id/Makefile2
-rw-r--r--src/udev/cdrom_id/Makefile2
-rw-r--r--src/udev/collect/Makefile2
-rw-r--r--src/udev/mtd_probe/Makefile2
-rw-r--r--src/udev/scsi_id/Makefile2
-rw-r--r--src/udev/v4l_id/Makefile2
-rw-r--r--test/Makefile2
101 files changed, 101 insertions, 101 deletions
diff --git a/hwdb/Makefile b/hwdb/Makefile
index 7c8c9fc5c0..3f89c1ed8f 100644
--- a/hwdb/Makefile
+++ b/hwdb/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
.PHONY: hwdb-update
diff --git a/move.sh b/move.sh
index 59d2bd3894..869d315811 100755
--- a/move.sh
+++ b/move.sh
@@ -242,7 +242,7 @@ fixup_makefiles() (
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"
+ sed -r -i "s|(/\.\.)*/config.mk|/$(realpath -ms --relative-to="${filename%/*}" config.mk)|" "$filename"
done
)
diff --git a/src/Makefile b/src/Makefile
index 2086cd830d..b84e6076a0 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
diff --git a/src/busctl/Makefile b/src/busctl/Makefile
index c02430435e..e7ef92824c 100644
--- a/src/busctl/Makefile
+++ b/src/busctl/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
bin_PROGRAMS += \
diff --git a/src/grp-boot/Makefile b/src/grp-boot/Makefile
index b7cedfc6f3..0d60cf5290 100644
--- a/src/grp-boot/Makefile
+++ b/src/grp-boot/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
at.subdirs += bootctl systemd-boot
diff --git a/src/grp-boot/bootctl/Makefile b/src/grp-boot/bootctl/Makefile
index 95c2772da5..84253d2387 100644
--- a/src/grp-boot/bootctl/Makefile
+++ b/src/grp-boot/bootctl/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_EFI),)
diff --git a/src/grp-boot/systemd-boot/Makefile b/src/grp-boot/systemd-boot/Makefile
index 974d0d20c1..fdb8d42164 100644
--- a/src/grp-boot/systemd-boot/Makefile
+++ b/src/grp-boot/systemd-boot/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_EFI),)
diff --git a/src/grp-coredump/Makefile b/src/grp-coredump/Makefile
index 020d0ce2d1..fcd7044722 100644
--- a/src/grp-coredump/Makefile
+++ b/src/grp-coredump/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
at.subdirs += coredumpctl systemd-coredump
diff --git a/src/grp-coredump/coredumpctl/Makefile b/src/grp-coredump/coredumpctl/Makefile
index 00b5ee9e76..47a4397fa4 100644
--- a/src/grp-coredump/coredumpctl/Makefile
+++ b/src/grp-coredump/coredumpctl/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
coredumpctl_SOURCES = \
diff --git a/src/grp-coredump/systemd-coredump/Makefile b/src/grp-coredump/systemd-coredump/Makefile
index c66ded1117..87ec1799c0 100644
--- a/src/grp-coredump/systemd-coredump/Makefile
+++ b/src/grp-coredump/systemd-coredump/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_COREDUMP),)
diff --git a/src/grp-machine/Makefile b/src/grp-machine/Makefile
index 980b9bd04a..a169a6b75c 100644
--- a/src/grp-machine/Makefile
+++ b/src/grp-machine/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
at.subdirs += machinectl systemd-machined
diff --git a/src/grp-machine/libmachine-core/Makefile b/src/grp-machine/libmachine-core/Makefile
index 81d7c9761e..f37ec9772b 100644
--- a/src/grp-machine/libmachine-core/Makefile
+++ b/src/grp-machine/libmachine-core/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
libmachine_core_la_SOURCES = \
diff --git a/src/grp-machine/machinectl/Makefile b/src/grp-machine/machinectl/Makefile
index 27f67baef0..556256eada 100644
--- a/src/grp-machine/machinectl/Makefile
+++ b/src/grp-machine/machinectl/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
machinectl_SOURCES = \
diff --git a/src/grp-machine/nss-mymachines/Makefile b/src/grp-machine/nss-mymachines/Makefile
index 51363ed287..74871c8446 100644
--- a/src/grp-machine/nss-mymachines/Makefile
+++ b/src/grp-machine/nss-mymachines/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
diff --git a/src/grp-machine/systemd-machined/Makefile b/src/grp-machine/systemd-machined/Makefile
index 219851d707..59540c18c4 100644
--- a/src/grp-machine/systemd-machined/Makefile
+++ b/src/grp-machine/systemd-machined/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_machined_SOURCES = \
diff --git a/src/grp-resolve/systemd-resolved/Makefile b/src/grp-resolve/systemd-resolved/Makefile
index 5236b65749..fd27ed7409 100644
--- a/src/grp-resolve/systemd-resolved/Makefile
+++ b/src/grp-resolve/systemd-resolved/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_RESOLVED),)
diff --git a/src/grp-system/systemctl/Makefile b/src/grp-system/systemctl/Makefile
index 3799f8bbf5..20bd4f069c 100644
--- a/src/grp-system/systemctl/Makefile
+++ b/src/grp-system/systemctl/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemctl_SOURCES = \
diff --git a/src/grp-system/systemd/Makefile b/src/grp-system/systemd/Makefile
index d8f5c2fd45..0e34d8d829 100644
--- a/src/grp-system/systemd/Makefile
+++ b/src/grp-system/systemd/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_SOURCES = \
diff --git a/src/grp-timedate/systemd-timedated/Makefile b/src/grp-timedate/systemd-timedated/Makefile
index 59edba8a93..b3288b22b1 100644
--- a/src/grp-timedate/systemd-timedated/Makefile
+++ b/src/grp-timedate/systemd-timedated/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_TIMEDATED),)
diff --git a/src/grp-timedate/timedatectl/Makefile b/src/grp-timedate/timedatectl/Makefile
index cf835afe42..c1be945443 100644
--- a/src/grp-timedate/timedatectl/Makefile
+++ b/src/grp-timedate/timedatectl/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_TIMEDATED),)
diff --git a/src/hostname/Makefile b/src/hostname/Makefile
index f728c216c2..f601560f0a 100644
--- a/src/hostname/Makefile
+++ b/src/hostname/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_HOSTNAMED),)
diff --git a/src/import/Makefile b/src/import/Makefile
index abfe0b1749..909662b1b4 100644
--- a/src/import/Makefile
+++ b/src/import/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_IMPORTD),)
diff --git a/src/initctl/Makefile b/src/initctl/Makefile
index f24a610f96..b63a2e47d9 100644
--- a/src/initctl/Makefile
+++ b/src/initctl/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_initctl_SOURCES = \
diff --git a/src/journal-remote/Makefile b/src/journal-remote/Makefile
index 6c3535d92e..a95f6ab31a 100644
--- a/src/journal-remote/Makefile
+++ b/src/journal-remote/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(HAVE_MICROHTTPD),)
diff --git a/src/journal/Makefile b/src/journal/Makefile
index 4284d42437..4a7d6122c1 100644
--- a/src/journal/Makefile
+++ b/src/journal/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
diff --git a/src/kernel-install/Makefile b/src/kernel-install/Makefile
index 8f639fa59d..d50b684d01 100644
--- a/src/kernel-install/Makefile
+++ b/src/kernel-install/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
dist_bin_SCRIPTS = \
diff --git a/src/libbasic/Makefile b/src/libbasic/Makefile
index af1ba0cb51..10f79ec40a 100644
--- a/src/libbasic/Makefile
+++ b/src/libbasic/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
noinst_LTLIBRARIES += \
diff --git a/src/libbus-proxy-core/Makefile b/src/libbus-proxy-core/Makefile
index 77cd7e1f6f..f3cf4a055f 100644
--- a/src/libbus-proxy-core/Makefile
+++ b/src/libbus-proxy-core/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
noinst_LTLIBRARIES += \
diff --git a/src/libcore/Makefile b/src/libcore/Makefile
index c85b66adda..5eef67be3d 100644
--- a/src/libcore/Makefile
+++ b/src/libcore/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
noinst_LTLIBRARIES += \
diff --git a/src/libfirewall/Makefile b/src/libfirewall/Makefile
index 3f57492aef..ced0f7e476 100644
--- a/src/libfirewall/Makefile
+++ b/src/libfirewall/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(HAVE_LIBIPTC),)
diff --git a/src/libshared/Makefile b/src/libshared/Makefile
index f7d6632fb4..6d2117a77d 100644
--- a/src/libshared/Makefile
+++ b/src/libshared/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
noinst_LTLIBRARIES += \
diff --git a/src/libsystemd-network/Makefile b/src/libsystemd-network/Makefile
index 0ee1e5376e..45f782b184 100644
--- a/src/libsystemd-network/Makefile
+++ b/src/libsystemd-network/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
noinst_LTLIBRARIES += \
diff --git a/src/libsystemd/Makefile b/src/libsystemd/Makefile
index 821f9f7d98..ea2c35d62a 100644
--- a/src/libsystemd/Makefile
+++ b/src/libsystemd/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
LIBSYSTEMD_CURRENT=14
diff --git a/src/libsystemd/compat-libs/Makefile b/src/libsystemd/compat-libs/Makefile
index fbb662b359..d0ed978072 100644
--- a/src/libsystemd/compat-libs/Makefile
+++ b/src/libsystemd/compat-libs/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_COMPAT_LIBS),)
diff --git a/src/libsystemd/libsystemd-internal/Makefile b/src/libsystemd/libsystemd-internal/Makefile
index 5e90132172..fca4d7f146 100644
--- a/src/libsystemd/libsystemd-internal/Makefile
+++ b/src/libsystemd/libsystemd-internal/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
libsystemd_internal_la_SOURCES = \
diff --git a/src/libsystemd/libsystemd-journal-internal/Makefile b/src/libsystemd/libsystemd-journal-internal/Makefile
index 7a3b773041..3e54757a9f 100644
--- a/src/libsystemd/libsystemd-journal-internal/Makefile
+++ b/src/libsystemd/libsystemd-journal-internal/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
audit_list_includes = -include linux/audit.h -include missing.h
diff --git a/src/libudev/Makefile b/src/libudev/Makefile
index eec9f2d7b8..7ed2706100 100644
--- a/src/libudev/Makefile
+++ b/src/libudev/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
at.subdirs += src
diff --git a/src/libudev/src/Makefile b/src/libudev/src/Makefile
index 05e6ca5c56..3df1afa934 100644
--- a/src/libudev/src/Makefile
+++ b/src/libudev/src/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
LIBUDEV_CURRENT=7
diff --git a/src/locale/Makefile b/src/locale/Makefile
index cf1a1cb0bd..cda2d17d4c 100644
--- a/src/locale/Makefile
+++ b/src/locale/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_LOCALED),)
diff --git a/src/login/Makefile b/src/login/Makefile
index 283a102bdf..85c79a93b6 100644
--- a/src/login/Makefile
+++ b/src/login/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_LOGIND),)
diff --git a/src/machine-id-setup/Makefile b/src/machine-id-setup/Makefile
index 82a2acc1f4..125471d17a 100644
--- a/src/machine-id-setup/Makefile
+++ b/src/machine-id-setup/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_machine_id_setup_SOURCES = \
diff --git a/src/modules-load/Makefile b/src/modules-load/Makefile
index 989e59a600..ab334e16e8 100644
--- a/src/modules-load/Makefile
+++ b/src/modules-load/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(HAVE_KMOD),)
diff --git a/src/network/Makefile b/src/network/Makefile
index 3b5f78e50c..3453a9c56d 100644
--- a/src/network/Makefile
+++ b/src/network/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_NETWORKD),)
diff --git a/src/nss-myhostname/Makefile b/src/nss-myhostname/Makefile
index b5ca8672ac..9af5aeabc2 100644
--- a/src/nss-myhostname/Makefile
+++ b/src/nss-myhostname/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(HAVE_MYHOSTNAME),)
diff --git a/src/sleep/Makefile b/src/sleep/Makefile
index d3ae4944e9..2d8854bbf9 100644
--- a/src/sleep/Makefile
+++ b/src/sleep/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_sleep_SOURCES = \
diff --git a/src/socket-proxy/Makefile b/src/socket-proxy/Makefile
index 78d95eeccb..cead4f37a9 100644
--- a/src/socket-proxy/Makefile
+++ b/src/socket-proxy/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
diff --git a/src/sysctl/Makefile b/src/sysctl/Makefile
index c6ae268d2e..31d38d9104 100644
--- a/src/sysctl/Makefile
+++ b/src/sysctl/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_sysctl_SOURCES = \
diff --git a/src/systemd-ac-power/Makefile b/src/systemd-ac-power/Makefile
index c4dcd39688..b06af09332 100644
--- a/src/systemd-ac-power/Makefile
+++ b/src/systemd-ac-power/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_ac_power_SOURCES = \
diff --git a/src/systemd-activate/Makefile b/src/systemd-activate/Makefile
index e57f5ec073..058e10809e 100644
--- a/src/systemd-activate/Makefile
+++ b/src/systemd-activate/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
diff --git a/src/systemd-analyze/Makefile b/src/systemd-analyze/Makefile
index be1657bf81..c8a3d805fd 100644
--- a/src/systemd-analyze/Makefile
+++ b/src/systemd-analyze/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_analyze_SOURCES = \
diff --git a/src/systemd-ask-password/Makefile b/src/systemd-ask-password/Makefile
index 57e17ea538..11f3c8038a 100644
--- a/src/systemd-ask-password/Makefile
+++ b/src/systemd-ask-password/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_ask_password_SOURCES = \
diff --git a/src/systemd-backlight/Makefile b/src/systemd-backlight/Makefile
index e62096d5ea..115285ec40 100644
--- a/src/systemd-backlight/Makefile
+++ b/src/systemd-backlight/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_BACKLIGHT),)
diff --git a/src/systemd-binfmt/Makefile b/src/systemd-binfmt/Makefile
index a7a3a1233b..6f520311e4 100644
--- a/src/systemd-binfmt/Makefile
+++ b/src/systemd-binfmt/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_BINFMT),)
diff --git a/src/systemd-bootchart/Makefile b/src/systemd-bootchart/Makefile
index 3ee5a4f99f..26be9339a9 100644
--- a/src/systemd-bootchart/Makefile
+++ b/src/systemd-bootchart/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_BOOTCHART),)
diff --git a/src/systemd-bus-proxyd/Makefile b/src/systemd-bus-proxyd/Makefile
index 4e89203b27..75e98b1633 100644
--- a/src/systemd-bus-proxyd/Makefile
+++ b/src/systemd-bus-proxyd/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_bus_proxyd_SOURCES = \
diff --git a/src/systemd-cgls/Makefile b/src/systemd-cgls/Makefile
index cb4d7ced51..72f43638b1 100644
--- a/src/systemd-cgls/Makefile
+++ b/src/systemd-cgls/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_cgls_SOURCES = \
diff --git a/src/systemd-cgroups-agent/Makefile b/src/systemd-cgroups-agent/Makefile
index 1f533211d2..5c7d9d03ab 100644
--- a/src/systemd-cgroups-agent/Makefile
+++ b/src/systemd-cgroups-agent/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_cgroups_agent_SOURCES = \
diff --git a/src/systemd-cgtop/Makefile b/src/systemd-cgtop/Makefile
index 096cee0739..5e379895a8 100644
--- a/src/systemd-cgtop/Makefile
+++ b/src/systemd-cgtop/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_cgtop_SOURCES = \
diff --git a/src/systemd-cryptsetup/Makefile b/src/systemd-cryptsetup/Makefile
index d9028c1510..7ab3605a31 100644
--- a/src/systemd-cryptsetup/Makefile
+++ b/src/systemd-cryptsetup/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(HAVE_LIBCRYPTSETUP),)
diff --git a/src/systemd-dbus1-generator/Makefile b/src/systemd-dbus1-generator/Makefile
index 7bdcd09828..1d7f0d1a81 100644
--- a/src/systemd-dbus1-generator/Makefile
+++ b/src/systemd-dbus1-generator/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemgenerator_PROGRAMS += \
diff --git a/src/systemd-debug-generator/Makefile b/src/systemd-debug-generator/Makefile
index e8cc3e4c9f..79684a8a7a 100644
--- a/src/systemd-debug-generator/Makefile
+++ b/src/systemd-debug-generator/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_debug_generator_SOURCES = \
diff --git a/src/systemd-delta/Makefile b/src/systemd-delta/Makefile
index e10265d316..b9124f86ea 100644
--- a/src/systemd-delta/Makefile
+++ b/src/systemd-delta/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_delta_SOURCES = \
diff --git a/src/systemd-detect-virt/Makefile b/src/systemd-detect-virt/Makefile
index 2a1a241683..529a3a2561 100644
--- a/src/systemd-detect-virt/Makefile
+++ b/src/systemd-detect-virt/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_detect_virt_SOURCES = \
diff --git a/src/systemd-escape/Makefile b/src/systemd-escape/Makefile
index d95fd3303a..6589e06525 100644
--- a/src/systemd-escape/Makefile
+++ b/src/systemd-escape/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_escape_SOURCES = \
diff --git a/src/systemd-firstboot/Makefile b/src/systemd-firstboot/Makefile
index e066c9ee8f..931cf485e6 100644
--- a/src/systemd-firstboot/Makefile
+++ b/src/systemd-firstboot/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_FIRSTBOOT),)
diff --git a/src/systemd-fsck/Makefile b/src/systemd-fsck/Makefile
index fdb2c5b1af..9c981837f5 100644
--- a/src/systemd-fsck/Makefile
+++ b/src/systemd-fsck/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_fsck_SOURCES = \
diff --git a/src/systemd-fstab-generator/Makefile b/src/systemd-fstab-generator/Makefile
index cde4575a82..4d201612b8 100644
--- a/src/systemd-fstab-generator/Makefile
+++ b/src/systemd-fstab-generator/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_fstab_generator_SOURCES = \
diff --git a/src/systemd-getty-generator/Makefile b/src/systemd-getty-generator/Makefile
index ee68fe4399..a070f1c424 100644
--- a/src/systemd-getty-generator/Makefile
+++ b/src/systemd-getty-generator/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_getty_generator_SOURCES = \
diff --git a/src/systemd-gpt-auto-generator/Makefile b/src/systemd-gpt-auto-generator/Makefile
index 8c51813ddc..177db8da7c 100644
--- a/src/systemd-gpt-auto-generator/Makefile
+++ b/src/systemd-gpt-auto-generator/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(HAVE_BLKID),)
diff --git a/src/systemd-hibernate-resume/Makefile b/src/systemd-hibernate-resume/Makefile
index 5e3e4a207c..baee443e84 100644
--- a/src/systemd-hibernate-resume/Makefile
+++ b/src/systemd-hibernate-resume/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_HIBERNATE),)
diff --git a/src/systemd-hwdb/Makefile b/src/systemd-hwdb/Makefile
index f844893229..47f900aefc 100644
--- a/src/systemd-hwdb/Makefile
+++ b/src/systemd-hwdb/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_HWDB),)
diff --git a/src/systemd-notify/Makefile b/src/systemd-notify/Makefile
index 39eea79bfa..c5402385b9 100644
--- a/src/systemd-notify/Makefile
+++ b/src/systemd-notify/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_notify_SOURCES = \
diff --git a/src/systemd-nspawn/Makefile b/src/systemd-nspawn/Makefile
index 530465fcff..b276bd6ceb 100644
--- a/src/systemd-nspawn/Makefile
+++ b/src/systemd-nspawn/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_nspawn_SOURCES = \
diff --git a/src/systemd-path/Makefile b/src/systemd-path/Makefile
index 4a7a533d71..19eb6bd10a 100644
--- a/src/systemd-path/Makefile
+++ b/src/systemd-path/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_path_SOURCES = \
diff --git a/src/systemd-quotacheck/Makefile b/src/systemd-quotacheck/Makefile
index 8c50fe8cde..42ff1dc814 100644
--- a/src/systemd-quotacheck/Makefile
+++ b/src/systemd-quotacheck/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_QUOTACHECK),)
diff --git a/src/systemd-random-seed/Makefile b/src/systemd-random-seed/Makefile
index 2e72ee41b6..d32f124c9a 100644
--- a/src/systemd-random-seed/Makefile
+++ b/src/systemd-random-seed/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_RANDOMSEED),)
diff --git a/src/systemd-rc-local-generator/Makefile b/src/systemd-rc-local-generator/Makefile
index 7b1a999095..2e9b3e7a64 100644
--- a/src/systemd-rc-local-generator/Makefile
+++ b/src/systemd-rc-local-generator/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_rc_local_generator_SOURCES = \
diff --git a/src/systemd-remount-fs/Makefile b/src/systemd-remount-fs/Makefile
index 7ea24e1fea..91baa27bf1 100644
--- a/src/systemd-remount-fs/Makefile
+++ b/src/systemd-remount-fs/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_remount_fs_SOURCES = \
diff --git a/src/systemd-reply-password/Makefile b/src/systemd-reply-password/Makefile
index 1da9dc0718..30283141aa 100644
--- a/src/systemd-reply-password/Makefile
+++ b/src/systemd-reply-password/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_reply_password_SOURCES = \
diff --git a/src/systemd-rfkill/Makefile b/src/systemd-rfkill/Makefile
index 8c2e07ce6b..4cb5137e63 100644
--- a/src/systemd-rfkill/Makefile
+++ b/src/systemd-rfkill/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_RFKILL),)
diff --git a/src/systemd-run/Makefile b/src/systemd-run/Makefile
index 0034766fd3..afa2d0f34c 100644
--- a/src/systemd-run/Makefile
+++ b/src/systemd-run/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_run_SOURCES = \
diff --git a/src/systemd-shutdown/Makefile b/src/systemd-shutdown/Makefile
index 28df1e9e8a..0695f3927d 100644
--- a/src/systemd-shutdown/Makefile
+++ b/src/systemd-shutdown/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_shutdown_SOURCES = \
diff --git a/src/systemd-stdio-bridge/Makefile b/src/systemd-stdio-bridge/Makefile
index f6a0b203a3..650240a908 100644
--- a/src/systemd-stdio-bridge/Makefile
+++ b/src/systemd-stdio-bridge/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_stdio_bridge_SOURCES = \
diff --git a/src/systemd-system-update-generator/Makefile b/src/systemd-system-update-generator/Makefile
index 3e63601574..62f750c182 100644
--- a/src/systemd-system-update-generator/Makefile
+++ b/src/systemd-system-update-generator/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_system_update_generator_SOURCES = \
diff --git a/src/systemd-sysv-generator/Makefile b/src/systemd-sysv-generator/Makefile
index a7534b3631..f6de146408 100644
--- a/src/systemd-sysv-generator/Makefile
+++ b/src/systemd-sysv-generator/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_sysv_generator_SOURCES = \
diff --git a/src/systemd-timesync/Makefile b/src/systemd-timesync/Makefile
index 5731dd78e5..a329865019 100644
--- a/src/systemd-timesync/Makefile
+++ b/src/systemd-timesync/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_TIMESYNCD),)
diff --git a/src/systemd-tmpfiles/Makefile b/src/systemd-tmpfiles/Makefile
index 144f141dff..c193b9c37d 100644
--- a/src/systemd-tmpfiles/Makefile
+++ b/src/systemd-tmpfiles/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_TMPFILES),)
diff --git a/src/systemd-tty-ask-password-agent/Makefile b/src/systemd-tty-ask-password-agent/Makefile
index b9f823c2c8..37b51da33b 100644
--- a/src/systemd-tty-ask-password-agent/Makefile
+++ b/src/systemd-tty-ask-password-agent/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_tty_ask_password_agent_SOURCES = \
diff --git a/src/systemd-update-done/Makefile b/src/systemd-update-done/Makefile
index 3d62c28513..ae592db650 100644
--- a/src/systemd-update-done/Makefile
+++ b/src/systemd-update-done/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_update_done_SOURCES = \
diff --git a/src/systemd-update-utmp/Makefile b/src/systemd-update-utmp/Makefile
index db740c0d88..182c7534e7 100644
--- a/src/systemd-update-utmp/Makefile
+++ b/src/systemd-update-utmp/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_update_utmp_SOURCES = \
diff --git a/src/systemd-vconsole/Makefile b/src/systemd-vconsole/Makefile
index 1cb584e0ed..466829c1b9 100644
--- a/src/systemd-vconsole/Makefile
+++ b/src/systemd-vconsole/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_VCONSOLE),)
diff --git a/src/sysusers/Makefile b/src/sysusers/Makefile
index a339ec60f1..c9aaad0369 100644
--- a/src/sysusers/Makefile
+++ b/src/sysusers/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_SYSUSERS),)
diff --git a/src/test/Makefile b/src/test/Makefile
index c21ac79a70..f416b4aadf 100644
--- a/src/test/Makefile
+++ b/src/test/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
test_id128_SOURCES = \
diff --git a/src/udev/Makefile b/src/udev/Makefile
index 4de6cfc0a4..8449d56635 100644
--- a/src/udev/Makefile
+++ b/src/udev/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
INSTALL_DIRS += \
diff --git a/src/udev/ata_id/Makefile b/src/udev/ata_id/Makefile
index 186bef5af1..00a8c37ac2 100644
--- a/src/udev/ata_id/Makefile
+++ b/src/udev/ata_id/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ata_id_SOURCES = \
diff --git a/src/udev/cdrom_id/Makefile b/src/udev/cdrom_id/Makefile
index cb814e2400..a9297413d3 100644
--- a/src/udev/cdrom_id/Makefile
+++ b/src/udev/cdrom_id/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
cdrom_id_SOURCES = \
diff --git a/src/udev/collect/Makefile b/src/udev/collect/Makefile
index d47ad81372..60af3b7627 100644
--- a/src/udev/collect/Makefile
+++ b/src/udev/collect/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
collect_SOURCES = \
diff --git a/src/udev/mtd_probe/Makefile b/src/udev/mtd_probe/Makefile
index 08cee07a62..d7392a8a3b 100644
--- a/src/udev/mtd_probe/Makefile
+++ b/src/udev/mtd_probe/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
mtd_probe_SOURCES = \
diff --git a/src/udev/scsi_id/Makefile b/src/udev/scsi_id/Makefile
index a26799721a..7064a864f7 100644
--- a/src/udev/scsi_id/Makefile
+++ b/src/udev/scsi_id/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
scsi_id_SOURCES =\
diff --git a/src/udev/v4l_id/Makefile b/src/udev/v4l_id/Makefile
index bbbd19f04e..0641af8065 100644
--- a/src/udev/v4l_id/Makefile
+++ b/src/udev/v4l_id/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
v4l_id_SOURCES = \
diff --git a/test/Makefile b/test/Makefile
index e02624fe44..36298f2b25 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk