| 12345678910111213141516171819202122232425262728293031 |
- # Simple Makefile to make new releases of pisg (newreleases dir must exist)
- VERSION = 0.18
- DIRNAME = pisg-$(VERSION)
- TARFILE = pisg-$(VERSION).tar.gz
- ZIPFILE = pisg-$(VERSION).zip
- pisg:
- mkdir $(DIRNAME)
- cp pisg.pl $(DIRNAME)
- cp Changelog $(DIRNAME)
- cp COPYING $(DIRNAME)
- cp CREDITS $(DIRNAME)
- cp README $(DIRNAME)
- cp CONFIG-README $(DIRNAME)
- cp FORMATS $(DIRNAME)
- cp gfx/pipe-purple.png $(DIRNAME)
- cp gfx/pipe-blue.png $(DIRNAME)
- cp pisg.cfg $(DIRNAME)
- cp lang.txt $(DIRNAME)
- cp -r scripts $(DIRNAME)
- tar zcfv newrelease/pisg-$(VERSION).tar.gz $(DIRNAME)
- zip -r pisg $(DIRNAME)
- mv pisg.zip newrelease/$(ZIPFILE)
- mv $(DIRNAME) newrelease
- clean:
- rm -r newrelease/$(DIRNAME)
- rm newrelease/$(TARFILE)
- rm newrelease/$(ZIPFILE)
|