2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 23:30:05 -07:00
repo/core/kiss/build
2020-06-13 00:24:37 +03:00

22 lines
568 B
Bash
Executable File

#!/bin/sh -e
install -D kiss "$1/usr/bin/kiss"
install -D kiss_path.sh "$1/etc/profile.d/kiss_path.sh"
# Install kiss utilities.
cp contrib/* "$1/usr/bin/"
# Install distribution documentation.
for doc in docs/site/*.txt; do
install -Dm644 "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
done
# Install the Wiki.
cp -r wiki "$1/usr/share/doc/kiss/wiki"
# 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"