Revision 12920
Added by Aaron Marcuse-Kubitza almost 11 years ago
common.Makefile | ||
---|---|---|
70 | 70 |
|
71 | 71 |
addFile = $(if $(wildcard $(1)),,touch $(1) && )svn add --force $(1) |
72 | 72 |
addDir = $(if $(wildcard $(1)/),svn add --force --depth=empty $(1),svn mkdir $(1)) |
73 |
add* = $(if $(1),svn add --force --depth=empty $(1)) |
|
73 |
add* = $(if $(1),svn add --force --depth=empty $(wildcard $(1))) |
|
74 |
# $(wildcard __): prevent error "Could not add all targets because some |
|
75 |
# targets don't exist" |
|
74 | 76 |
|
75 | 77 |
# Revisions |
76 | 78 |
revision = $(shell svn info $(1)|$(sed) -n 's/^Last Changed Rev: (.*)$$/\1/p') |
Also available in: Unified diff
bugfix: lib/common.Makefile: $(add*): need to wrap w/ $(wildcard) to prevent "targets don't exist" error, because svn 1.7 does not suppress this error even with --force