diff --git a/Makefile b/Makefile index 7ec109c..f68e7a8 100755 --- a/Makefile +++ b/Makefile @@ -24,11 +24,11 @@ run: bin/${TARGET} -l 127.0.0.1:18123 -db . -ce 10m -gbo Arav -gbp 10 install: - install -Dm 0755 bin/${TARGET} ${DESTDIR}usr/bin/${TARGET} + install -Dm 0755 bin/${TARGET} ${DESTDIR}${PREFIX}/bin/${TARGET} install -Dm 0644 init/systemd.service ${DESTDIR}${SYSDDIR}/${TARGET}.service uninstall: - rm ${DESTDIR}usr/bin/${TARGET} + rm ${DESTDIR}${PREFIX}/bin/${TARGET} rm ${DESTDIR}${SYSDDIR}/${TARGET}.service clean: