Makefile 411 B

1234567891011121314
  1. all:
  2. @ echo "Nothing to compile. Use: sudo make install, sudo make uninstall"
  3. install:
  4. echo "Test"
  5. install -m0755 ./backup.sh /usr/local/bin/backup.sh
  6. install -d /usr/local/etc/backup.sh
  7. install -m0644 ./backup.cfg /usr/local/etc/backup.sh/backup.cfg
  8. @ /usr/local/bin/backup.sh -c
  9. uninstall:
  10. rm -fv /usr/local/bin/backup.sh
  11. rm -rfv /usr/local/etc/backup.sh/
  12. rm -fv /etc/cron.daily/backup_sh