summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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