summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKamil Rytarowski <kamil@mageia.org>2012-04-19 00:23:06 +0000
committerKamil Rytarowski <kamil@mageia.org>2012-04-19 00:23:06 +0000
commita2b5546602f0ddf57f3f4c06280deaac906e2c0e (patch)
treed5f33c29f89f66317cb942f3f5de1195acdf0a0e /Makefile
parentace003818893bd1ec750e1d7cacc2dccd6343ded (diff)
downloadcpufreq-a2b5546602f0ddf57f3f4c06280deaac906e2c0e.tar
cpufreq-a2b5546602f0ddf57f3f4c06280deaac906e2c0e.tar.gz
cpufreq-a2b5546602f0ddf57f3f4c06280deaac906e2c0e.tar.bz2
cpufreq-a2b5546602f0ddf57f3f4c06280deaac906e2c0e.tar.xz
cpufreq-a2b5546602f0ddf57f3f4c06280deaac906e2c0e.zip
- add simple Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..24e899f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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