viscal

cairo/gtk vi-like timeblocking calendar
git clone git://jb55.com/viscal
Log | Files | Refs | README | LICENSE

mktags (254B)


      1 #!/usr/bin/env bash
      2 
      3 set -euo pipefail
      4 
      5 DEPS="$@"
      6 DIRS="$(pkg-config --cflags-only-I $DEPS | sed 's/\ \?-I/ /g')"
      7 FILES=""
      8 
      9 for dir in $(tr ' ' '\n' <<< "$DIRS"); do
     10   FILES+=$(find "$dir" -type f -name '*.h')
     11 done
     12 
     13 <<<"$FILES" xargs etags -o - viscal.c