summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2018-12-23 10:52:09 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2018-12-23 10:55:06 (GMT)
commit625eb1077f2605188f054b31b28ca9d416263982 (patch)
tree5fef01bd67f0957db530ce731c26e31cc5d88e1d
parent4ff0e7a591b78a376bef8931ca2d9e099940f127 (diff)
downloadpublik-client-scripts-625eb1077f2605188f054b31b28ca9d416263982.zip
publik-client-scripts-625eb1077f2605188f054b31b28ca9d416263982.tar.gz
publik-client-scripts-625eb1077f2605188f054b31b28ca9d416263982.tar.bz2
add build script
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..95021a1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+VERSION=`git describe | sed 's/^v//; s/-/./g'`
+NAME = publik-client-scripts
+prefix = /usr
+
+all:
+
+install:
+ mkdir -p $(DESTDIR)$(prefix)/lib/publik/
+ cp -r clients $(DESTDIR)$(prefix)/lib/publik/
+
+dist-bzip2: dist
+ -mkdir sdist
+ cd sdist && tar cfj ../sdist/$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
+
+version:
+ @(echo $(VERSION))
+
+name:
+ @(echo $(NAME))
+
+fullname:
+ @(echo $(NAME)-$(VERSION))