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
This commit is contained in:
Michael Stapelberg 2018-01-29 16:53:08 +01:00 committed by Nikos Tsipinakis
parent 10ee1782d9
commit 21188de260

View File

@ -132,12 +132,12 @@ install-dunst: dunst doc
install-doc: install-doc:
install -Dm644 dunstrc ${DESTDIR}${PREFIX}/share/dunst/dunstrc install -Dm644 dunstrc ${DESTDIR}${PREFIX}/share/dunst/dunstrc
install-service: service install-service-dbus install-service: install-service-dbus
install-service-dbus: install-service-dbus: service-dbus
install -Dm644 org.knopwob.dunst.service ${DESTDIR}${SERVICEDIR_DBUS}/org.knopwob.dunst.service install -Dm644 org.knopwob.dunst.service ${DESTDIR}${SERVICEDIR_DBUS}/org.knopwob.dunst.service
ifneq (0,${SYSTEMD}) ifneq (0,${SYSTEMD})
install-service: install-service-systemd install-service: install-service-systemd
install-service-systemd: install-service-systemd: service-systemd
install -Dm644 dunst.systemd.service ${DESTDIR}${SERVICEDIR_SYSTEMD}/dunst.service install -Dm644 dunst.systemd.service ${DESTDIR}${SERVICEDIR_SYSTEMD}/dunst.service
endif endif