aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-12-20 01:08:54 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-01-15 18:59:50 +0100
commita6edfdee8beb53aef708c7d5c90c9aeada23d6bc (patch)
tree78fb7df592072407ce444ffc6516afd83ba9df68 /build-aux
parent982e8caf70821d883cb80d3cc0c5700ed952345b (diff)
downloadblogc-a6edfdee8beb53aef708c7d5c90c9aeada23d6bc.tar.gz
blogc-a6edfdee8beb53aef708c7d5c90c9aeada23d6bc.tar.bz2
blogc-a6edfdee8beb53aef708c7d5c90c9aeada23d6bc.zip
removed blogc-github-lambda
it will be provided in a separate repository soon
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/build-static.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/build-aux/build-static.sh b/build-aux/build-static.sh
index bf9cbf4..cacca1b 100755
--- a/build-aux/build-static.sh
+++ b/build-aux/build-static.sh
@@ -4,17 +4,4 @@ set -ex
${MAKE_CMD:-make} LDFLAGS="-all-static" blogc
-rm -rf root
-mkdir -p root
-
-install -m 755 blogc root/blogc
-install -m 644 src/blogc-github-lambda/lambda_function.py root/lambda_function.py
-install -m 644 ../LICENSE root/LICENSE
-strip root/blogc
-
-pushd root > /dev/null
-zip "../blogc-github-lambda-${PV}.zip" *
-popd > /dev/null
-
-install -m 755 root/blogc "blogc-static-amd64-${PV}"
-xz -z "blogc-static-amd64-${PV}"
+xz -zc blogc > "blogc-static-amd64-${PV}.xz"