summaryrefslogtreecommitdiff
blob: 7a18d415db1166b5d2e56a190fa828247b071ead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2007-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

PN = gentoo-syntax
PV = $(shell sed '/^[ \t]*\* .*[Vv]ersion/!d;s/[^0-9.]*\([0-9.]*\).*/\1/;q' \
	ChangeLog)
P = $(PN)-$(PV)

DISTFILES = gentoo-syntax.el ebuild-mode-keywords.el \
	eselect-mode-keywords.el ChangeLog


.PHONY: all dist clean

all:

dist: $(DISTFILES)
	tar -cjf $(P).tar.bz2 --transform='s%^%$(P)/%' $^
	tar -tjvf $(P).tar.bz2

clean:
	-rm -f *~ *.tmp *.gz *.bz2