From 63d5b7a91f20fafade213d8494cbe22b685db4b5 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Jan 04 2009 06:23:52 +0000 Subject: Add make dist to make my life easier --- diff --git a/.gitignore b/.gitignore index 46df48e..698d27b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ *.pyc *.pyo *.swp +dist diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a98218b --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +VERSION = 0.2 + +.PHONY: dist + +dist: + mkdir -p dist + mkdir -p supybot-fedora-$(VERSION) + cp *.py *.txt supybot-fedora-$(VERSION) + tar cj supybot-fedora-$(VERSION) > dist/supybot-fedora-$(VERSION).tar.bz2 + rm -rf supybot-fedora-$(VERSION) + +clean: + rm -rf dist