Revision 1771
Added by Aaron Marcuse-Kubitza over 12 years ago
input.Makefile | ||
---|---|---|
56 | 56 |
|
57 | 57 |
# SVN |
58 | 58 |
addDir = $(if $(wildcard $(1)/),svn add --depth=empty $(1),svn mkdir $(1)) |
59 |
setSvnIgnore := svn propset svn:ignore
|
|
59 |
setSvnIgnore = svn propset svn:ignore $(2) $(1)
|
|
60 | 60 |
define addDirWithIgnore |
61 | 61 |
$(addDir) |
62 |
$(setSvnIgnore) $(2) $(1)
|
|
62 |
$(setSvnIgnore) |
|
63 | 63 |
endef |
64 | 64 |
|
65 | 65 |
##### General targets |
... | ... | |
95 | 95 |
##### SVN |
96 | 96 |
|
97 | 97 |
add: _always |
98 |
$(call addDirWithIgnore,.,$$'')
|
|
98 |
$(call setSvnIgnore,.,$$'')
|
|
99 | 99 |
$(call addDirWithIgnore,src,$$'*') |
100 | 100 |
$(call addDirWithIgnore,maps,$$'.~*') |
101 | 101 |
$(call addDirWithIgnore,import,$$'*') |
Also available in: Unified diff
input.Makefile: Only setSvnIgnore the input dir, since it already exists and doesn't need to be added (inputs/Makefile adds it)