diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-06-13 00:01:25 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-06-13 00:01:25 +0200 |
commit | 75e18f5357fd4f9811bd9f032901c2e7c169436c (patch) | |
tree | c2574c357e586d0bf000d1ed66a5c92b8cb60c45 /build-aux | |
parent | 76448e806720d99a57f492fbaeff44bf3250b914 (diff) | |
download | blogc-75e18f5357fd4f9811bd9f032901c2e7c169436c.tar.gz blogc-75e18f5357fd4f9811bd9f032901c2e7c169436c.tar.bz2 blogc-75e18f5357fd4f9811bd9f032901c2e7c169436c.zip |
build: static-all: remove base directory
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/build-static-all.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/build-aux/build-static-all.sh b/build-aux/build-static-all.sh index f277d62..0cba1a3 100755 --- a/build-aux/build-static-all.sh +++ b/build-aux/build-static-all.sh @@ -2,12 +2,11 @@ set -ex -DESTDIR="${PN}-${TARGET}-amd64-${PV}" - ${MAKE_CMD:-make} LDFLAGS="-all-static" -${MAKE_CMD:-make} DESTDIR="${PWD}/root/${DESTDIR}" install -install -m 644 ../LICENSE "root/${DESTDIR}/LICENSE" +${MAKE_CMD:-make} DESTDIR="${PWD}/root" install +install -m 644 ../LICENSE root/LICENSE +echo "${PV}" > root/VERSION pushd root > /dev/null -tar -cvJf "../${DESTDIR}.tar.xz" "${DESTDIR}" +tar -cvJf "../${PN}-${TARGET}-amd64-${PV}.tar.xz" * popd > /dev/null |