Source

irc / Makefile

Full commit
jrosdahl c93db87 

jrosdahl 0f6d029 
jrosdahl c93db87 
jrosdahl 0f6d029 


jrosdahl 3bb4c2a 
jrosdahl 0f6d029 

jrosdahl c93db87 
jrosdahl 3bb4c2a 
jrosdahl c93db87 







jrosdahl 0f6d029 
VERSION := $(shell sed -n -e '/VERSION = /{s/VERSION = \(.*\), \(.*\), \(.*\)/\1.\2.\3/;p;}' <irclib.py)

all: doc

doc:
	rm -r doc
	mkdir doc
	PYTHONPATH=. pythondoc -d doc -f HTML4 -i frame=1 irclib ircbot

dist: doc
	mkdir irclib-$(VERSION)
	cp -r COPYING README ChangeLog Makefile irclib.py ircbot.py irccat irccat2 servermap testbot.py doc irclib-$(VERSION)
	tar cvzf irclib-$(VERSION).tar.gz irclib-$(VERSION)
	rm -r irclib-$(VERSION)

cvstag:
	cvs tag version_`echo $(VERSION) | sed 's/\./_/g'`

clean:
	rm -f *.tar.gz

.PHONY: all doc dist cvstag clean