diff options
author | maxice8 <thinkabit.ukim@gmail.com> | 2019-04-17 11:20:35 -0300 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-01-28 12:29:13 +0100 |
commit | 148227b5cfb966e85faeb2dcea6048afbceb106a (patch) | |
tree | af635b930815245297f4682fbac198682e585ace | |
parent | e43f979227f0be7df371ed56764b9555b31a505f (diff) | |
download | mpd-notification-148227b5cfb966e85faeb2dcea6048afbceb106a.tar.gz mpd-notification-148227b5cfb966e85faeb2dcea6048afbceb106a.tar.zst |
Makefile: don't install systemd service if there is no systemd
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,7 +48,9 @@ install: install-bin install-doc install-bin: mpd-notification $(INSTALL) -D -m0755 mpd-notification $(DESTDIR)/usr/bin/mpd-notification +ifneq ($(CFLAGS_SYSTEMD),) $(INSTALL) -D -m0644 systemd/mpd-notification.service $(DESTDIR)/usr/lib/systemd/user/mpd-notification.service +endif install-doc: README.html $(INSTALL) -D -m0644 README.md $(DESTDIR)/usr/share/doc/mpd-notification/README.md |