summaryrefslogtreecommitdiff
blob: 886bdee58e15264e8df0effb1a76e73fe2da97d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2007-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 or later
# $Id$

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

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


.PHONY: all dist clean

all:

gentoo-syntax.info: gentoo-syntax.texi
	makeinfo $<

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

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