Makefile 746 B

12345678910111213141516171819202122232425262728293031
  1. # Simple Makefile to make new releases of pisg (newreleases dir must exist)
  2. VERSION = 0.18
  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 Changelog $(DIRNAME)
  10. cp COPYING $(DIRNAME)
  11. cp CREDITS $(DIRNAME)
  12. cp README $(DIRNAME)
  13. cp CONFIG-README $(DIRNAME)
  14. cp FORMATS $(DIRNAME)
  15. cp gfx/pipe-purple.png $(DIRNAME)
  16. cp gfx/pipe-blue.png $(DIRNAME)
  17. cp pisg.cfg $(DIRNAME)
  18. cp lang.txt $(DIRNAME)
  19. cp -r scripts $(DIRNAME)
  20. tar zcfv newrelease/pisg-$(VERSION).tar.gz $(DIRNAME)
  21. zip -r pisg $(DIRNAME)
  22. mv pisg.zip newrelease/$(ZIPFILE)
  23. mv $(DIRNAME) newrelease
  24. clean:
  25. rm -r newrelease/$(DIRNAME)
  26. rm newrelease/$(TARFILE)
  27. rm newrelease/$(ZIPFILE)