summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-12-17 12:28:07 +0100
committerChristian Pointner <equinox@spreadspace.org>2015-12-17 12:28:07 +0100
commitd916f6c46c304a90f45b429bea09af89f4729661 (patch)
treecd4dce32f494609a68096cd822c88162940874d7 /Makefile
parentnew upstream release (diff)
new upstream relase. using make to download tarballs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d685381
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+VERSION := 0.0.23
+DEBARCHS := amd64 i386 armhf arm64
+EXECUTEABLES := $(DEBARCHS:%=acmetool.%)
+
+all: $(EXECUTEABLES)
+
+acmetool.%: acmetool-v$(VERSION)-linux_%.tar.gz
+ tar -xzf $< -O > $@
+
+acmetool-v$(VERSION)-linux_%.tar.gz:
+ wget -nc "https://github.com/hlandau/acme/releases/download/v$(VERSION)/$(shell echo $@ | sed s/i386/386/ | sed s/armhf/arm/)" -O $@
+
+clean:
+ rm -f acmetool.*
+ rm -f acmetool-*.tar.gz