Made the Makefile proper
This commit is contained in:
parent
299ddafdb9
commit
e6076eae73
1 changed files with 13 additions and 3 deletions
16
Makefile
16
Makefile
|
@ -1,4 +1,14 @@
|
||||||
install:
|
VERSION = 1.0
|
||||||
cp matrix-send /bin
|
PREFIX = /usr/local
|
||||||
|
MANPREFIX = ${PREFIX}/man
|
||||||
|
|
||||||
config:
|
config:
|
||||||
cp matrix-send.conf ~/.config/
|
cp matrix-send.conf ~/.config/matrix-send.conf
|
||||||
|
|
||||||
|
install:
|
||||||
|
cp -f matrix-send ${DESTDIR}${PREFIX}/bin
|
||||||
|
mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
||||||
|
cp -f matrix-send.1 ${DESTDIR}${MANPREFIX}/man1
|
||||||
|
mkdir -p ${DESTDIR}${MANPREFIX}/man5
|
||||||
|
cp -f matrix-send.conf.5 ${DESTDIR}${MANPREFIX}/man5
|
||||||
|
makewhatis ${DESTDIR}${MANPREFIX}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue