2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 16:50:07 -07:00
repo/core/kiss/build

21 lines
500 B
Plaintext
Raw Normal View History

2019-06-17 11:12:34 -06:00
#!/bin/sh -e
mkdir -p "$1/usr/bin"
2020-02-14 09:13:39 -07:00
2020-02-24 13:57:37 -07:00
# Install kiss utilities.
cp -f kiss contrib/* "$1/usr/bin/"
2020-02-24 13:57:37 -07:00
# Install distribution documentation.
2020-06-12 15:24:37 -06:00
for doc in docs/site/*.txt; do
install -Dm644 "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
2020-02-24 13:57:37 -07:00
done
2020-06-06 00:04:02 -06:00
2020-06-12 15:24:37 -06:00
# Install the Wiki.
2020-06-06 00:04:02 -06:00
cp -r wiki "$1/usr/share/doc/kiss/wiki"
2020-06-12 15:24:37 -06:00
# Remove unnecessary pages.
rm -f "$1/usr/share/doc/kiss/wiki/README.txt" \
"$1/usr/share/doc/kiss/news.txt" \
"$1/usr/share/doc/kiss/blog.txt" \
"$1/usr/share/doc/kiss/screenshots.txt"