summaryrefslogtreecommitdiff
path: root/install.sh
blob: a615e561ffc96d39eea09f03619b893ecd2e2c09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env sh

DESTINATION="${1}"

if [ -z "${DESTINATION}" ]
then
	echo missing destination directory...
fi

mkdir -p "${DESTINATION}"

cp "apple-touch-icon.png" "${DESTINATION}"
cp "favicon.ico" "${DESTINATION}"

cp -r "html" "${DESTINATION}"
cp -r "shtml" "${DESTINATION}"
cp -r "svg" "${DESTINATION}"
cp -r "ttf" "${DESTINATION}"
cp -r "webp" "${DESTINATION}"

mkdir -p "${DESTINATION}/css"
mkdir -p "${DESTINATION}/js"

cp "css/"*".css" "${DESTINATION}/css"
cp "js/"*".js" "${DESTINATION}/js"