Files
rofi/meson-dist-script
2025-01-22 10:06:48 +01:00

24 lines
409 B
Bash

#!/bin/sh
set -eu
cd "${MESON_DIST_ROOT}"
# deploy docs
mkdir build
meson setup build -Dprefix=/usr
ninja -C build
cp build/doc/*.1 doc
cp build/doc/*.5 doc
rm -rf build
# configure script
autoreconf -i
rm -rf autom4te.cache
# remove unwanted files in submodules
# (.gitattributes only applies to the root repo)
rm -f subprojects/*/.mailmap
rm -f subprojects/*/.gitignore
rm -f subprojects/*/.travis.yml