dwm-custom/build.sh

12 lines
330 B
Bash
Raw Normal View History

2024-01-31 01:17:44 +01:00
#!/bin/sh
2024-02-03 16:48:48 +01:00
cp config.mk patches.h dwm-flexipatch/
2024-01-31 01:17:44 +01:00
flexipatch-finalizer/flexipatch-finalizer.sh -r -d dwm-flexipatch -o dwm-final
2024-02-28 00:50:34 +01:00
git -C dwm-flexipatch reset --hard HEAD && git -C dwm-flexipatch clean -fd
for patch in patches/*.diff; do
2024-04-17 22:06:58 +02:00
patch -d dwm-final <"$patch"
2024-02-23 15:22:47 +01:00
done
2024-02-03 16:48:48 +01:00
cp config.h dwm-final/
2024-02-23 15:22:47 +01:00
cd dwm-final || exit 1
2024-04-17 22:06:58 +02:00
make "$@"