dots/compile-suckless.sh

15 lines
253 B
Bash
Raw Permalink Normal View History

2024-01-02 18:31:40 -05:00
#!/bin/sh
# run this as root to automagically install the suckless/ utilities
set -e
if [ -z "$TARGET" ]; then
TARGET="install"
fi
SRCFOLDER="$(dirname "$0")/suckless"
for proj in st dwm slock dmenu; do
make -C "$SRCFOLDER"/"$proj" "$TARGET"
done