Makefile 642B

1234567891011121314151617181920212223242526272829
  1. VERSION=1.0
  2. TAR=/usr/bin/tar
  3. TARBALL="firewall-sosdg-$(VERSION).tar.bz2"
  4. default:
  5. @echo; \
  6. echo "This makefile doesn't do much at the moment other then"; \
  7. echo "make it easy to make releases and such. Please read it"; \
  8. echo "if you so desire." ;\
  9. echo
  10. tarball:
  11. cd .. ;\
  12. COPYFILE_DISABLE=true $(TAR) vjcf $(TARBALL) --exclude='.svn' firewall-sosdg
  13. upgrade:
  14. mv -f blocked ipv4-blocked &>/dev/null
  15. config_update:
  16. tools/convert-config
  17. config_move:
  18. mv -f ipv4-* conf/ &>/dev/null
  19. mv -f ipv6-* conf/ &>/dev/null
  20. mv -f port-forwards* conf/ &>/dev/null
  21. mv -f postrun* conf/ &>/dev/null
  22. mv -f prerun* conf/ &>/dev/null