stagit-hook

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

Makefile (588B)


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