Makefile however installs the script to $(DESTDIR)$(PREFIX)/bin/media-automount.
On my system, both DESTDIR and PREFIX are empty, so the script is never called.
Suggestion: either leave away the $(DESTDIR)$(PREFIX) in the Makefile and hard code the prefix to /usr, or configure the service file at build time.
I would do a PR however am not that seasoned in Makefile builds, what's the best practice to achieve this? maybe insert something like @DESTDIR@ in the service file and replace it with sed?
in
media-automount@.service
there's a hardcoded reference to/usr/bin/media-automount
.Makefile however installs the script to
$(DESTDIR)$(PREFIX)/bin/media-automount
.On my system, both DESTDIR and PREFIX are empty, so the script is never called.
Suggestion: either leave away the
$(DESTDIR)$(PREFIX)
in the Makefile and hard code the prefix to/usr
, or configure the service file at build time.I would do a PR however am not that seasoned in Makefile builds, what's the best practice to achieve this? maybe insert something like
@DESTDIR@
in the service file and replace it withsed
?