makefile 372 B

12345678910111213141516171819
  1. PREFIX ?= /usr/local
  2. BINDIR ?= $(PREFIX)/bin
  3. MANDIR ?= $(PREFIX)/share/man/man1
  4. .POSIX: install
  5. all: help
  6. help:
  7. @echo "please run 'make install' as root"
  8. install:
  9. cp ./cbr-convert.sh $(BINDIR)/cbr-convert
  10. cp ./runner-cbr.sh $(BINDIR)/runner-cbr
  11. cp ./cbr-convert.1 $(MANDIR)
  12. uninstall:
  13. rm $(BINDIR)/cbr-convert
  14. rm $(BINDIR)/runner-cbr
  15. rm $(MANDIR)/cbr-convert.1