blob: 4abfa5c661c958aab41b8a1556c45c99b588ec28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2008-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 or later
PN = emacs-daemon
PV = $(shell sed '/^[ \t]*\* .*[Vv]ersion/!d;s/[^0-9.]*\([0-9.]*\).*/\1/;q' \
ChangeLog)
P = $(PN)-$(PV)
DISTFILES = README ChangeLog emacs.rc emacs.conf emacs-wrapper.sh \
emacs-stop.sh 10emacs-daemon-gentoo.el
.PHONY: all dist clean
all:
dist: $(DISTFILES)
tar -cJf $(P).tar.xz --transform='s%^%$(P)/%' $^
tar -tJvf $(P).tar.xz
clean:
-rm -f *~ *.tmp *.xz
|