rivet/makefile
Alessandro Mauri 4c6f06b6b7 version 0.2
changes:
	- rivet now generates an atom feed with the last 3 (configurable)
		modified articles
	- rivet now generates links in the index list to html files in srcdir
	- Articles with unkown title will have their filename as the title
	- minor code refractor
2021-03-21 14:22:20 +01:00

21 lines
489 B
Makefile

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