~whynothugo/systemd-lock-handler

b1b8e56d09452a5bd39061cafbcfaa698d56eb9f — Hugo Osvaldo Barrera 2 months ago 68d18ad
Tidy up makefile
1 files changed, 5 insertions(+), 10 deletions(-)

M Makefile
M Makefile => Makefile +5 -10
@@ 7,15 7,10 @@ systemd-lock-handler:
build: systemd-lock-handler

install: build
	@install -Dm755 systemd-lock-handler \
	  ${DESTDIR}${PREFIX}/lib/systemd-lock-handler
	@install -Dm644 systemd-lock-handler.service \
	  ${DESTDIR}${PREFIX}/lib/systemd/user/systemd-lock-handler.service
	@install -Dm644 lock.target \
	  ${DESTDIR}${PREFIX}/lib/systemd/user/lock.target
	@install -Dm644 unlock.target \
	  ${DESTDIR}${PREFIX}/lib/systemd/user/unlock.target
	@install -Dm644 sleep.target \
	  ${DESTDIR}${PREFIX}/lib/systemd/user/sleep.target
	@install -Dm755 systemd-lock-handler ${DESTDIR}${PREFIX}/lib/systemd-lock-handler
	@install -Dm644 systemd-lock-handler.service ${DESTDIR}${PREFIX}/lib/systemd/user/systemd-lock-handler.service
	@install -Dm644 lock.target ${DESTDIR}${PREFIX}/lib/systemd/user/lock.target
	@install -Dm644 unlock.target ${DESTDIR}${PREFIX}/lib/systemd/user/unlock.target
	@install -Dm644 sleep.target ${DESTDIR}${PREFIX}/lib/systemd/user/sleep.target

.PHONY: build install