build_curses_themes.sh - sfeed_tests - sfeed tests and RSS and Atom files
(HTM) git clone git://git.codemadness.org/sfeed_tests
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
build_curses_themes.sh (349B)
---
1 #!/bin/sh
2 # Script to test compilation of included sfeed_curses themes.
3 # it copies the compiled binary to sfeed_curses-$theme
4
5 die() {
6 echo "$1" >&2
7 exit 1
8 }
9
10 for f in themes/*.h; do
11 n="${f##*/}"
12 n="${n%%.h}"
13 echo "$n"
14
15 make clean
16 make SFEED_THEME="$n" sfeed_curses || die "compiling theme $n failed"
17 cp sfeed_curses "sfeed_curses-$n"
18 done