repo/core/kiss/build
2021-07-01 16:18:51 +00:00

25 lines
470 B
Bash
Executable File

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