You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
489 B
20 lines
489 B
VERSION = 0.2
|
|
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
|
|
|