mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 11:10:08 -07:00
20 lines
374 B
Bash
Executable File
20 lines
374 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# Swap to shell script instead of perl script
|
|
# for conversion of rules files. See files/xml2lst.
|
|
sed 's/xml2lst\.pl/xml2lst/' rules/meson.build > _
|
|
mv -f _ rules/meson.build
|
|
|
|
# Remove po/ dir.
|
|
sed "/subdir('po')/d" meson.build > _
|
|
mv -f _ meson.build
|
|
|
|
export DESTDIR="$1"
|
|
|
|
meson setup \
|
|
-Dprefix=/usr \
|
|
output
|
|
|
|
ninja -C output
|
|
ninja -C output install
|