repo/core/kiss/build

25 lines
470 B
Plaintext
Raw Normal View History

2019-06-17 11:12:34 -06:00
#!/bin/sh -e
2021-07-01 10:18:51 -06:00
mkdir -p \
"$1/usr/bin" \
"$1/usr/share/doc/kiss"
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
2021-07-01 10:18:51 -06:00
case $doc in
README.txt | news.txt | blog.txt | screenshots.txt)
# Skip.
;;
*)
cp -f "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
;;
esac
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"