forked from alema/rivet
fixes: - fixed the mess of options and general inconsistencies between program man page and help message - fixed some cases where rivet should fail but didn't and specified return values for all exit conditions - fixed the header system, before the header would have been added inside of <head></head> which is incorrect, browsers would fix it on the fly but still it is not correct. Now _header.html contents are put inside <header></header> at the beginning of <body> - fixed <footer> outside of <body> - some fixes in the man page additions: - added the requirement for _metadata.html, this file contains tags and html metadata that is put inside <head> - the main article is now enclosed inside <article></article> tags for better styling
21 lines
489 B
Makefile
21 lines
489 B
Makefile
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
|