2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 19:20:10 -07:00
repo/core/kiss/build
2020-06-06 09:04:02 +03:00

19 lines
556 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 -Dm 644 kiss.1 "$1/usr/share/man/man1/kiss.1"
# Install kiss utilities.
cp contrib/* "$1/usr/bin/"
# Install distribution documentation.
for doc in faq guidestones install package-system package-manager; do
install -Dm644 "docs/site/$doc.txt" \
"$1/usr/share/doc/kiss/$doc.txt"
done
# Install the Wiki documentation.
cp -r wiki "$1/usr/share/doc/kiss/wiki"
rm -f "$1/usr/share/docs/kiss/wiki/README.txt"