mirror of
https://github.com/lbonn/rofi
synced 2024-11-26 22:00:20 +00:00
meson: Now dist target is upstream
This reverts commit 2140c9dffb
, but not
the Makefile.am part. Also fixes EXTRA_DIST.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
2140c9dffb
commit
21982db450
3 changed files with 1 additions and 23 deletions
|
@ -591,4 +591,5 @@ coverage-clean:
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
doc/meson.build \
|
doc/meson.build \
|
||||||
subprojects/libgwater/xcb/meson.build \
|
subprojects/libgwater/xcb/meson.build \
|
||||||
|
meson_options.txt \
|
||||||
meson.build
|
meson.build
|
||||||
|
|
|
@ -439,5 +439,3 @@ if ohcount.found()
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
run_target('dist', command: [ 'script/dist.sh' ])
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
NAME=`mesonintrospect ${MESON_BUILD_ROOT} --projectinfo | tr ',[' '\n\n' | sed -n 1,/subprojects/p | grep name | cut -d'"' -f4`
|
|
||||||
VERSION=`mesonintrospect ${MESON_BUILD_ROOT} --projectinfo | tr ',[' '\n\n' | sed -n 1,/subprojects/p | grep version | cut -d'"' -f4`
|
|
||||||
PREFIX=${NAME}-${VERSION}
|
|
||||||
TAR=${MESON_BUILD_ROOT}/${PREFIX}.tar
|
|
||||||
|
|
||||||
rm -f ${TAR} ${TAR}.xz
|
|
||||||
git archive --prefix=${PREFIX}/ --format=tar HEAD > ${TAR}
|
|
||||||
(
|
|
||||||
git submodule | \
|
|
||||||
while read commit path ref; do
|
|
||||||
(
|
|
||||||
cd ${path}
|
|
||||||
git archive --prefix=${PREFIX}/${path}/ --format=tar ${commit} > tmp.tar
|
|
||||||
tar -Af ${TAR} tmp.tar
|
|
||||||
rm -f tmp.tar
|
|
||||||
)
|
|
||||||
done
|
|
||||||
)
|
|
||||||
xz ${TAR}
|
|
Loading…
Reference in a new issue