| # -*- makefile -*- |
| ## ----------------------------------------------------------------------- |
| ## ----------------------------------------------------------------------- |
| |
| jira-search = bin/jira-search.sh |
| |
| ## ----------------------------------------------------------------------- |
| ## ----------------------------------------------------------------------- |
| all: |
| |
| ## ----------------------------------------------------------------------- |
| ## ----------------------------------------------------------------------- |
| view : |
| pandoc README.md | lynx --stdin |
| |
| ## ----------------------------------------------------------------------- |
| ## ----------------------------------------------------------------------- |
| query-args := $(null) |
| # query-args += --dry-run |
| query-args += --opencord |
| query-args += --or |
| query-args += --label-is-empty |
| query-args += --label 'python' |
| query-args += --label-excl 'foobar' |
| query-args += --text-or 'python' |
| |
| query : |
| $(jira-search) $(query-args) 2>&1 | tee log |
| |
| ## ----------------------------------------------------------------------- |
| ## ----------------------------------------------------------------------- |
| help : |
| @printf 'Usage: make [options] [target] ...' |
| @printf ' %-33.33s %s\n' 'query' 'Convenience target for jira queries' |
| @printf ' %-33.33s %s\n' 'view' 'Render README.md for local viewing' |
| |
| # [EOF] |