| # -*- makefile -*- |
| ## ----------------------------------------------------------------------- |
| ## ----------------------------------------------------------------------- |
| |
| jira-search = bin/jira-search.sh |
| |
| ## ----------------------------------------------------------------------- |
| ## ----------------------------------------------------------------------- |
| all: ../lf |
| cd .. && $(MAKE) |
| |
| ## ----------------------------------------------------------------------- |
| ## ----------------------------------------------------------------------- |
| view : |
| pandoc README.md | lynx --stdin |
| |
| ## ----------------------------------------------------------------------- |
| ## ----------------------------------------------------------------------- |
| query-args := $(null) |
| ifdef DRYRUN |
| query-args += --dry-run |
| endif |
| query-args += --opencord |
| query-args += --or |
| # query-args += --label-is-empty |
| query-args += --label 'python3x' |
| #query-args += --label 'python' |
| #query-args += --label-excl 'foobar' |
| query-args += --text-or 'python' |
| query-args += --resolved-is-empty |
| # query-args += --unresolved |
| |
| 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] |