tmake.sh - st - [fork] customized build of st, the simple terminal
(HTM) git clone git://src.adamsgaard.dk/st
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tmake.sh (209B)
---
1 #!/bin/sh
2 set -e
3
4 build() {
5 make clean
6 ln -sf "config-${1}.h" config.h
7 make
8 mv st "st-${1}"
9 }
10
11 installst() {
12 doas cp -f "st-${1}" /usr/local/bin/
13 }
14
15 build dark
16 installst dark
17
18 build light
19 installst light