File: build-examples

package info (click to toggle)
zmk 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,132 kB
  • sloc: makefile: 1,749; sh: 313; ansic: 42; awk: 12; cpp: 12
file content (8 lines) | stat: -rwxr-xr-x 205 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh
set -e
for ex in examples/*; do
    make -C "$ex"
    make -C "$ex" clean
    make -C "$ex" install DESTDIR="/tmp/zmk-example-$ex"
    make -C "$ex" uninstall DESTDIR="/tmp/zmk-example-$ex"
done