summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 24e899f2eb78f39ea2e506d150b3d66837480bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PACKAGE = cpufreq
VERSION = 2.0

FILES = cpufreq \
	cpufreq.service \
	cpufreq.sysconfig

clean:
	rm -f *~ \#*\#
	rm -fr $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz

dir:
	mkdir $(PACKAGE)-$(VERSION)

localcopy:
	tar c --exclude=.svn $(FILES) | tar x -C $(PACKAGE)-$(VERSION)

tar:
	tar cvYf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
	rm -fr $(PACKAGE)-$(VERSION)

dist: clean dir localcopy tar