Install dunstctl via make automatically
This commit is contained in:
parent
72d68fcec4
commit
e80e8e9eb5
14
Makefile
14
Makefile
@ -151,16 +151,19 @@ clean-coverage-run:
|
||||
${FIND} . -type f -name '*.gcov' -delete
|
||||
${FIND} . -type f -name '*.gcda' -delete
|
||||
|
||||
.PHONY: install install-dunst install-doc \
|
||||
.PHONY: install install-dunst install-dunstctl install-doc \
|
||||
install-service install-service-dbus install-service-systemd \
|
||||
uninstall \
|
||||
uninstall uninstall-dunstctl \
|
||||
uninstall-service uninstall-service-dbus uninstall-service-systemd
|
||||
install: install-dunst install-doc install-service install-dunstify
|
||||
install: install-dunst install-dunstctl install-doc install-service install-dunstify
|
||||
|
||||
install-dunst: dunst doc
|
||||
install -Dm755 dunst ${DESTDIR}${BINDIR}/dunst
|
||||
install -Dm644 docs/dunst.1 ${DESTDIR}${MANPREFIX}/man1/dunst.1
|
||||
|
||||
install-dunstctl: dunstctl
|
||||
install -Dm755 dunstctl ${DESTDIR}${BINDIR}/dunstctl
|
||||
|
||||
install-doc:
|
||||
install -Dm644 dunstrc ${DESTDIR}${DATADIR}/dunst/dunstrc
|
||||
|
||||
@ -176,12 +179,15 @@ endif
|
||||
install-dunstify: dunstify
|
||||
install -Dm755 dunstify ${DESTDIR}${BINDIR}/dunstify
|
||||
|
||||
uninstall: uninstall-service
|
||||
uninstall: uninstall-service uninstall-dunstctl
|
||||
rm -f ${DESTDIR}${BINDIR}/dunst
|
||||
rm -f ${DESTDIR}${BINDIR}/dunstify
|
||||
rm -f ${DESTDIR}${MANPREFIX}/man1/dunst.1
|
||||
rm -rf ${DESTDIR}${DATADIR}/dunst
|
||||
|
||||
uninstall-dunstctl:
|
||||
rm -f ${DESTDIR}${BINDIR}/dunstctl
|
||||
|
||||
uninstall-service: uninstall-service-dbus
|
||||
uninstall-service-dbus:
|
||||
rm -f ${DESTDIR}${SERVICEDIR_DBUS}/org.knopwob.dunst.service
|
||||
|
@ -9,6 +9,7 @@ make -C "${BASE}" SYSTEMD=1 SERVICEDIR_SYSTEMD="${PREFIX}/systemd" SERVICEDIR_DB
|
||||
|
||||
diff -u <(find "${PREFIX}" -type f -printf "%P\n" | sort) - <<EOF
|
||||
bin/dunst
|
||||
bin/dunstctl
|
||||
bin/dunstify
|
||||
dbus/org.knopwob.dunst.service
|
||||
share/dunst/dunstrc
|
||||
|
Loading…
x
Reference in New Issue
Block a user