Joey Armstrong | e4ef06a | 2024-03-22 11:43:54 -0400 | [diff] [blame] | 1 | # -*- makefile -*- |
Joey Armstrong | 9cbbf7f | 2024-08-14 17:05:18 -0400 | [diff] [blame] | 2 | ## ----------------------------------------------------------------------- |
| 3 | ## ----------------------------------------------------------------------- |
Joey Armstrong | e4ef06a | 2024-03-22 11:43:54 -0400 | [diff] [blame] | 4 | |
Joey Armstrong | 9cbbf7f | 2024-08-14 17:05:18 -0400 | [diff] [blame] | 5 | jira-search = bin/jira-search.sh |
| 6 | |
| 7 | ## ----------------------------------------------------------------------- |
| 8 | ## ----------------------------------------------------------------------- |
Joey Armstrong | 6890fa9 | 2024-08-15 12:14:37 -0400 | [diff] [blame] | 9 | all: ../lf |
| 10 | cd .. && $(MAKE) |
Joey Armstrong | e4ef06a | 2024-03-22 11:43:54 -0400 | [diff] [blame] | 11 | |
Joey Armstrong | 9cbbf7f | 2024-08-14 17:05:18 -0400 | [diff] [blame] | 12 | ## ----------------------------------------------------------------------- |
| 13 | ## ----------------------------------------------------------------------- |
Joey Armstrong | e4ef06a | 2024-03-22 11:43:54 -0400 | [diff] [blame] | 14 | view : |
| 15 | pandoc README.md | lynx --stdin |
| 16 | |
Joey Armstrong | 9cbbf7f | 2024-08-14 17:05:18 -0400 | [diff] [blame] | 17 | ## ----------------------------------------------------------------------- |
| 18 | ## ----------------------------------------------------------------------- |
| 19 | query-args := $(null) |
Joey Armstrong | 6890fa9 | 2024-08-15 12:14:37 -0400 | [diff] [blame] | 20 | ifdef DRYRUN |
| 21 | query-args += --dry-run |
| 22 | endif |
Joey Armstrong | 9cbbf7f | 2024-08-14 17:05:18 -0400 | [diff] [blame] | 23 | query-args += --opencord |
| 24 | query-args += --or |
Joey Armstrong | 6890fa9 | 2024-08-15 12:14:37 -0400 | [diff] [blame] | 25 | # query-args += --label-is-empty |
| 26 | query-args += --label 'python3x' |
| 27 | #query-args += --label 'python' |
| 28 | #query-args += --label-excl 'foobar' |
Joey Armstrong | 9cbbf7f | 2024-08-14 17:05:18 -0400 | [diff] [blame] | 29 | query-args += --text-or 'python' |
Joey Armstrong | 6890fa9 | 2024-08-15 12:14:37 -0400 | [diff] [blame] | 30 | query-args += --resolved-is-empty |
| 31 | # query-args += --unresolved |
Joey Armstrong | 9cbbf7f | 2024-08-14 17:05:18 -0400 | [diff] [blame] | 32 | |
| 33 | query : |
| 34 | $(jira-search) $(query-args) 2>&1 | tee log |
| 35 | |
| 36 | ## ----------------------------------------------------------------------- |
| 37 | ## ----------------------------------------------------------------------- |
| 38 | help : |
| 39 | @printf 'Usage: make [options] [target] ...' |
| 40 | @printf ' %-33.33s %s\n' 'query' 'Convenience target for jira queries' |
| 41 | @printf ' %-33.33s %s\n' 'view' 'Render README.md for local viewing' |
| 42 | |
Joey Armstrong | e4ef06a | 2024-03-22 11:43:54 -0400 | [diff] [blame] | 43 | # [EOF] |