In Makefile made use of PREFIX var.
This commit is contained in:
parent
3a3db1a673
commit
9fd750a99b
4
Makefile
4
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:
|
||||
|
Loading…
Reference in New Issue
Block a user