summaryrefslogtreecommitdiff
path: root/Makefile
blob: 772374e188aed6996a4e75ab595564a40d12cd74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
VERSION := $(shell sed -n -e '/version = /{s/version = "\(.*\)"/\1/;p;}' <miniircd)

DISTFILES = miniircd COPYING README.md

all:
	echo "Nothing to do."

dist:
	mkdir miniircd-$(VERSION)
	cp $(DISTFILES) miniircd-$(VERSION)
	tar cvzf miniircd-$(VERSION).tar.gz miniircd-$(VERSION)
	rm -rf miniircd-$(VERSION)

clean:
	rm -rf miniircd-$(VERSION) *~