Skip to content
Snippets Groups Projects
Verified Commit 7df36dee authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

makefile: drop PREFIX, comply with /usr merge

PREFIX was dropped and paths updated so that they
were compliant with a merged /usr layout.
parent 52661fa4
No related branches found
No related tags found
1 merge request!4makefile: install scripts to bin instead of sbin, use PREFIX for systemd unit install location
install:
install -Dm 755 src/swclock-offset-boot.sh \
$(DESTDIR)$(PREFIX)/sbin/swclock-offset-boot
$(DESTDIR)/usr/bin/swclock-offset-boot
install -Dm 755 src/swclock-offset-shutdown.sh \
$(DESTDIR)$(PREFIX)/sbin/swclock-offset-shutdown
$(DESTDIR)/usr/bin/swclock-offset-shutdown
install_openrc:
install -Dm 755 openrc/swclock-offset-boot.initd \
......@@ -12,6 +12,6 @@ install_openrc:
install_systemd:
install -Dm 644 systemd/swclock-offset-boot.service \
$(DESTDIR)/lib/systemd/system/swclock-offset-boot.service
$(DESTDIR)/usr/lib/systemd/system/swclock-offset-boot.service
install -Dm 644 systemd/swclock-offset-shutdown.service \
$(DESTDIR)/lib/systemd/system/swclock-offset-shutdown.service
$(DESTDIR)/usr/lib/systemd/system/swclock-offset-shutdown.service
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment