Makefile in remote-config

at master

1.PHONY: install
2.DEFAULT_GOAL := remotecfg
3LIB:=/usr/lib/remotecfg
4BIN:=/usr/bin
5
6install: remotecfg
7 install -Dm755 remotecfg ${BIN}
8 install -Dm644 common.sh ${LIB}/common.sh
9
10uninstall:
11 rm ${BIN}/remotecfg
12 rm -rf ${LIB}
13
14remotecfg: remotecfg.in
15 sed "s#{{ prefix }}#${LIB}#" remotecfg.in > remotecfg
16
17clean:
18 -rm remotecfg