SMOLNET PORTAL home about changes
build_curses_themes.sh - sfeed_tests - sfeed tests and RSS and Atom files
(URL) git clone git://git.codemadness.org/sfeed_tests (git://git.codemadness.org)
(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
Response: application/gopher-menu
Original URLgopher://codemadness.org/1/git/sfeed_tests/file/build_cur...
Content-Typeapplication/gopher-menu; charset=utf-8