mkfile 659 B

123456789101112131415161718192021222324252627
  1. all:V: eeze
  2. eeze: main.go `echo crypto/*.go fido/*.go fs/*.go secrets/*.go`
  3. go build
  4. PREFIX=`echo ${PREFIX:-/usr/local}`
  5. install:V: eeze
  6. mkdir -m755 -p $PREFIX/bin
  7. cp eeze $PREFIX/bin/eeze
  8. chmod 755 $PREFIX/bin/eeze
  9. install eeze.sh $PREFIX/bin/eeze.sh
  10. chmod 755 $PREFIX/bin/eeze.sh
  11. cp -r eeze.sh.d $PREFIX/bin
  12. ln -fs eeze.sh $PREFIX/bin/eeze-add
  13. ln -fs eeze.sh $PREFIX/bin/eeze-del
  14. ln -fs eeze.sh $PREFIX/bin/eeze-edit
  15. ln -fs eeze.sh $PREFIX/bin/eeze-find
  16. uninstall:V:
  17. rm $PREFIX/bin/eeze
  18. rm $PREFIX/bin/eeze.sh
  19. rm $PREFIX/bin/eeze-add
  20. rm $PREFIX/bin/eeze-del
  21. rm $PREFIX/bin/eeze-edit
  22. rm $PREFIX/bin/eeze-find
  23. rm -r $PREFIX/bin/eeze.sh.d