Makefile 695 B

1234567891011121314151617181920212223242526272829
  1. # Simple Makefile to make new releases of pisg (newreleases dir must exist)
  2. VERSION = 0.16a
  3. DIRNAME = pisg-$(VERSION)
  4. TARFILE = pisg-$(VERSION).tar.gz
  5. ZIPFILE = pisg-$(VERSION).zip
  6. pisg:
  7. mkdir $(DIRNAME)
  8. cp pisg.pl $(DIRNAME)
  9. cp CREDITS $(DIRNAME)
  10. cp gfx/pipe-purple.png $(DIRNAME)
  11. cp gfx/pipe-blue.png $(DIRNAME)
  12. cp COPYING $(DIRNAME)
  13. cp users.cfg $(DIRNAME)
  14. cp README $(DIRNAME)
  15. cp FORMATS $(DIRNAME)
  16. cp Changelog $(DIRNAME)
  17. cp -r scripts $(DIRNAME)
  18. tar zcfv newrelease/pisg-$(VERSION).tar.gz $(DIRNAME)
  19. zip -r pisg $(DIRNAME)
  20. mv pisg.zip newrelease/$(ZIPFILE)
  21. mv $(DIRNAME) newrelease
  22. clean:
  23. rm -r newrelease/$(DIRNAME)
  24. rm newrelease/$(TARFILE)
  25. rm newrelease/$(ZIPFILE)