VERSION = 1.0.2

TARBALL = xml2po-$(VERSION).tar.gz

DIST = README NEWS TODO ChangeLog Makefile xml2po.py ignored-tags final-tags \
	examples/one.xml examples/one.po examples/two.xml examples/two.po

xml2po-$(VERSION).tar.gz: $(DIST)
	@rm -rf ./xml2po-$(VERSION) && \
	mkdir ./xml2po-$(VERSION) && \
	cp -Rp --parents $(DIST) ./xml2po-$(VERSION) && \
	tar cvzf xml2po-$(VERSION).tar.gz xml2po-$(VERSION); \
	rm -rf ./xml2po-$(VERSION)

tar: xml2po-$(VERSION).tar.gz

