Makefile 496 B

12345678910111213141516
  1. PROGRAM_NAME=hypertorify
  2. VERSION=alpha
  3. install:
  4. install -Dm644 LICENSE /usr/share/licenses/hypertorify/LICENSE
  5. install -Dm644 README.md /usr/share/doc/hypertorify/README.md
  6. install -Dm755 hypertorify.sh /usr/bin/$(PROGRAM_NAME)
  7. mkdir -p /usr/share/$(PROGRAM_NAME)/backups
  8. install -Dm644 ruleset.nft /usr/share/$(PROGRAM_NAME)/
  9. uninstall:
  10. rm -Rf /usr/bin/$(PROGRAM_NAME)
  11. rm -Rf /usr/share/$(PROGRAM_NAME)
  12. rm -Rf /usr/share/licenses/$(PROGRAM_NAME)
  13. rm -Rf /usr/share/doc/$(PROGRAM_NAME)