blob: 0254de2f7e0a2b1a6dd9df382c7dda5c63880321 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
PROG=soibox
PREFIX=/usr/local
BINDIR=${PREFIX}/bin
LICENSEDIR=${PREFIX}/share/licenses/soibox
doc:
mkdir -p ${DESTDIR}${LICENSEDIR}
chmod 644 LICENSE
cp LICENSE ${DESTDIR}${LICENSEDIR}
install:
chmod 755 ${PROG}
cp ${PROG} ${PROG}.bak
mkdir -p ${DESTDIR}${BINDIR}
cp ${PROG}.bak ${DESTDIR}${BINDIR}/${PROG}
rm ${PROG}.bak
uninstall:
rm -f ${DESTDIR}${BINDIR}/${PROG}
rm -rf ${DESTDIR}${LICENSEDIR}
.PHONY: install uninstall doc
|