forked from alema/rivet
parent
297b3f0c9f
commit
635c2d8521
@ -0,0 +1,20 @@ |
||||
VERSION = 0.3
|
||||
PREFIX = /usr/local
|
||||
MANPREFIX = ${PREFIX}/share/man
|
||||
|
||||
rivet: rivet.sh |
||||
|
||||
install: rivet |
||||
mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||
cp -f rivet ${DESTDIR}${PREFIX}/bin/rivet
|
||||
chmod 755 ${DESTDIR}${PREFIX}/bin/rivet
|
||||
mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
||||
sed "s/VERSION/${VERSION}/g" < rivet.1 > ${DESTDIR}${MANPREFIX}/man1/rivet.1
|
||||
chmod 644 ${DESTDIR}${MANPREFIX}/man1/rivet.1
|
||||
|
||||
uninstall: |
||||
rm -f ${DESTDIR}${PREFIX}/bin/rivet\
|
||||
${DESTDIR}${MANPREFIX}/man1/rivet.1
|
||||
|
||||
clean: |
||||
rm -f rivet
|
Loading…
Reference in new issue