2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 15:50:06 -07:00
repo/core/kiss/build
2021-07-20 20:06:57 +03:00

20 lines
340 B
Bash
Executable File

#!/bin/sh -e
mkdir -p \
"$1/usr/bin" \
"$1/usr/share/doc/kiss"
cp -f kiss contrib/* "$1/usr/bin/"
for doc in docs/site/*.txt; do case ${doc%%.txt} in
README|news|blog|screenshots)
# Skip.
;;
*)
cp -f "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
;;
esac done
cp -r wiki "$1/usr/share/doc/kiss/wiki"