1
0

In Makefile made use of PREFIX var.

This commit is contained in:
Alexander Andreev 2023-09-23 04:10:37 +04:00
parent 3a3db1a673
commit 9fd750a99b
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -24,11 +24,11 @@ run:
bin/${TARGET} -l 127.0.0.1:18123 -db . -ce 10m -gbo Arav -gbp 10 bin/${TARGET} -l 127.0.0.1:18123 -db . -ce 10m -gbo Arav -gbp 10
install: 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 install -Dm 0644 init/systemd.service ${DESTDIR}${SYSDDIR}/${TARGET}.service
uninstall: uninstall:
rm ${DESTDIR}usr/bin/${TARGET} rm ${DESTDIR}${PREFIX}/bin/${TARGET}
rm ${DESTDIR}${SYSDDIR}/${TARGET}.service rm ${DESTDIR}${SYSDDIR}/${TARGET}.service
clean: clean: