#!/bin/sh # See LICENSE file for copyright and license details. set -e test $# = 2 symbols="$1" how="" deps="" set $(printf '%s\n' "$2" | tr ',|' ' ') for dep; do if test "$dep" = mask || test "$dep" = enum; then test -z "$how" how="$dep" else deps="$deps $dep" fi done test -n "$how" dir="$(dirname -- "$0")" $dir/make-$how "$symbols" $deps