make ignore now updates svn:ignore as different OS's have different targets.
This commit is contained in:
parent
dc712a109e
commit
e72aeebbcd
@ -6,7 +6,9 @@ IGNOREFILES+= ${CLEANFILES}
|
|||||||
|
|
||||||
ignore:
|
ignore:
|
||||||
@if test -n "${IGNOREFILES}"; then \
|
@if test -n "${IGNOREFILES}"; then \
|
||||||
echo "Ignoring ${IGNOREFILES}"; \
|
echo "=> Ignoring ${IGNOREFILES}"; \
|
||||||
files="$$(echo ${IGNOREFILES} | tr ' ' '\n')"; \
|
files="$$(echo "${IGNOREFILES}" | tr ' ' '\n')"; \
|
||||||
eval svn propset svn:ignore \'"$${files}"\' .; \
|
efiles="$$(svn propget svn:ignore .)"; \
|
||||||
|
sfiles="$$(printf "$${files}\n$${efiles}" | sort -u)"; \
|
||||||
|
eval svn propset svn:ignore \'"$${sfiles}"\' .; \
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user