1
0

Updated version in a Makefile. Added copying of liquidsoap script.

This commit is contained in:
Alexander Andreev 2022-08-29 07:19:59 +04:00
parent c55146a8bf
commit b2791aa13a
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -4,7 +4,7 @@ SYSDDIR_=${shell pkg-config systemd --variable=systemdsystemunitdir}
SYSDDIR=${SYSDDIR_:/%=%} SYSDDIR=${SYSDDIR_:/%=%}
DESTDIR=/ DESTDIR=/
LDFLAGS=-ldflags "-s -w -X main.version=22.31.0" LDFLAGS=-ldflags "-s -w -X main.version=22.35.0"
all: ${TARGET} all: ${TARGET}
@ -19,6 +19,8 @@ run:
install: install:
install -Dm 0755 bin/${TARGET} ${DESTDIR}usr/bin/${TARGET} install -Dm 0755 bin/${TARGET} ${DESTDIR}usr/bin/${TARGET}
install -Dm 0644 configs/config.yaml ${DESTDIR}etc/dwelling/radio.yaml install -Dm 0644 configs/config.yaml ${DESTDIR}etc/dwelling/radio.yaml
install -Dm 0644 configs/radio.liq ${DESTDIR}etc/dwelling/radio.liq
install -Dm 0644 configs/radio.vars.liq ${DESTDIR}etc/dwelling/radio.vars.liq
install -Dm 0644 LICENSE ${DESTDIR}usr/share/licenses/${TARGET}/LICENSE install -Dm 0644 LICENSE ${DESTDIR}usr/share/licenses/${TARGET}/LICENSE
install -Dm 0644 configs/logrotate ${DESTDIR}etc/logrotate.d/${TARGET} install -Dm 0644 configs/logrotate ${DESTDIR}etc/logrotate.d/${TARGET}