makefile 270 B

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