Skip to content

Commit aaccad1

Browse files
committed
Add variables to Makefile to aid auto-complete
Add DEFAULT_TEST_TARGET and STG_PROVE_OPTS variables to top-level Makefile. This helps shell autocompletion tools know that these variables are available, and thus easier to compose a command line like: make DEFAULT_TEST_TARGET=prove STG_PROVE_OPTS=-j4 Signed-off-by: Peter Grayson <[email protected]>
1 parent 8fc2c5c commit aaccad1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
prefix ?= $(HOME)
22
DESTDIR ?= /
33
PYTHON ?= python
4+
DEFAULT_TEST_TARGET ?= test
5+
STG_PROVE_OPTS ?=
46

57
export DESTDIR PYTHON
68

t/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
PYTHON ?= python
77
# STG_TEST_OPTS = --verbose-log
88
# STG_PROVE_OPTS = --jobs=9
9+
STG_PROVE_OPTS ?=
910
SHELL_PATH ?= $(SHELL)
1011
TEST_SHELL_PATH ?= $(SHELL_PATH)
1112
PERL_PATH ?= /usr/bin/perl

0 commit comments

Comments
 (0)