stagit-hook

Maintain stagit post-update git hooks
Log | Files | Refs | README

Makefile (547B)


      1 SCRIPTS =\
      2 	stagit-hook\
      3 
      4 PREFIX = /usr/local/
      5 MANPREFIX = ${PREFIX}/man
      6 
      7 install:
      8 .for s in ${SCRIPTS}
      9 	install -o root -g bin -m 755 $s ${PREFIX}/bin/$s
     10 .endfor
     11 	install -o root -g bin -m 644 stagit-hook.1 ${MANPREFIX}/man1/stagit-hook.1 
     12 	install -o root -g bin -m 644 stagit-hook.5 ${MANPREFIX}/man5/stagit-hook.5
     13 	makewhatis -d ${MANPREFIX} ${MANPREFIX}/man1/stagit-hook.1 ${MANPREFIX}/man5/stagit-hook.5
     14 
     15 uninstall:
     16 .for s in ${SCRIPTS}
     17 	rm -f /usr/local/bin/$s
     18 .endfor
     19 	rm -f ${MANPREFIX}/man1/stagit-hook.1 ${MANPREFIX}/man5/stagit-hook.5