Slight simplification of test-suite build for new out-of-source changes
Provide default SRCDIR and SCRIPTDIR variables in common.mk and override only where needed.
This commit is contained in:
parent
f574a34155
commit
2b5499a262
25 changed files with 9 additions and 134 deletions
|
|
@ -22,11 +22,6 @@ TODOS = tr -d '\r'
|
|||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
ifeq (.,$(srcdir))
|
||||
SRCDIR =
|
||||
else
|
||||
SRCDIR = $(srcdir)/
|
||||
endif
|
||||
|
||||
# strip source directory from output, so that diffs compare
|
||||
srcdir_regexp = $(shell echo $(srcdir)/ | sed 's/\./[.]/g')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue