simple stupid backup tool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 427B

123456789101112131415161718192021222324252627
  1. #
  2. # ssbt Makefile
  3. #
  4. PREFIX?=/usr/local
  5. BINDIR=$(DESTDIR)$(PREFIX)/bin
  6. LIBDIR=$(DESTDIR)$(PREFIX)/lib/ssbt
  7. RCDIR=$(DESTDIR)$(PREFIX)/etc/rc.d
  8. CP=/bin/cp
  9. INSTALL=/usr/bin/install
  10. MKDIR=/bin/mkdir
  11. PROG=ssbt
  12. all: install install-rc
  13. install:
  14. $(MKDIR) -p $(BINDIR)
  15. $(INSTALL) -m 555 $(PROG) $(BINDIR)/
  16. $(MKDIR) -p $(LIBDIR)
  17. $(INSTALL) lib/* $(LIBDIR)/
  18. install-rc:
  19. $(MKDIR) -p $(RCDIR)
  20. $(INSTALL) -m 555 rc.d/* $(RCDIR)/