From ac6086198ee0fe1a7d63040d8b502cccabeee287 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 29 Jan 2018 16:53:08 +0100 Subject: [PATCH] Makefile: correct dependencies to fix race condition Before this commit, when building dunst in parallel, org.knopwob.dunst.service might get installed as an empty file. See https://bugs.debian.org/888760 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 85105cb..a874571 100644 --- a/Makefile +++ b/Makefile @@ -132,12 +132,12 @@ install-dunst: dunst doc install-doc: install -Dm644 dunstrc ${DESTDIR}${PREFIX}/share/dunst/dunstrc -install-service: service install-service-dbus -install-service-dbus: +install-service: install-service-dbus +install-service-dbus: service-dbus install -Dm644 org.knopwob.dunst.service ${DESTDIR}${SERVICEDIR_DBUS}/org.knopwob.dunst.service ifneq (0,${SYSTEMD}) install-service: install-service-systemd -install-service-systemd: +install-service-systemd: service-systemd install -Dm644 dunst.systemd.service ${DESTDIR}${SERVICEDIR_SYSTEMD}/dunst.service endif