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

FILES = cpufreq \
	cpufreq.init \
	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