rivet: a simple static site generator
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

  1. VERSION = 0.3
  2. PREFIX = /usr/local
  3. MANPREFIX = ${PREFIX}/share/man
  4. rivet: rivet.sh
  5. install: rivet
  6. mkdir -p ${DESTDIR}${PREFIX}/bin
  7. cp -f rivet ${DESTDIR}${PREFIX}/bin/rivet
  8. chmod 755 ${DESTDIR}${PREFIX}/bin/rivet
  9. mkdir -p ${DESTDIR}${MANPREFIX}/man1
  10. sed "s/VERSION/${VERSION}/g" < rivet.1 > ${DESTDIR}${MANPREFIX}/man1/rivet.1
  11. chmod 644 ${DESTDIR}${MANPREFIX}/man1/rivet.1
  12. uninstall:
  13. rm -f ${DESTDIR}${PREFIX}/bin/rivet\
  14. ${DESTDIR}${MANPREFIX}/man1/rivet.1
  15. clean:
  16. rm -f rivet