Skip to content

Commit b618115

Browse files
author
Amarakon55
committed
Added Makefile
1 parent 9845d61 commit b618115

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
PROG=mpvcam
2+
PREFIX=/usr/local
3+
BINDIR=${PREFIX}/bin
4+
LICENSEDIR=${PREFIX}/share/licenses/mpvcam
5+
6+
install:
7+
chmod 755 ${PROG}
8+
cp ${PROG} ${PROG}.bak
9+
mkdir -p ${DESTDIR}${BINDIR}
10+
cp ${PROG}.bak ${DESTDIR}${BINDIR}/${PROG}
11+
rm ${PROG}.bak
12+
13+
uninstall:
14+
rm -rf ${DESTDIR}${LICENSEDIR}
15+
rm -f ${DESTDIR}${BINDIR}/${PROG}

0 commit comments

Comments
 (0)