make ignore now updates svn:ignore as different OS's have different targets.

This commit is contained in:
Roy Marples 2008-12-04 19:21:47 +00:00
parent dc712a109e
commit e72aeebbcd

View File

@ -6,7 +6,9 @@ IGNOREFILES+= ${CLEANFILES}
ignore:
@if test -n "${IGNOREFILES}"; then \
echo "Ignoring ${IGNOREFILES}"; \
files="$$(echo ${IGNOREFILES} | tr ' ' '\n')"; \
eval svn propset svn:ignore \'"$${files}"\' .; \
echo "=> Ignoring ${IGNOREFILES}"; \
files="$$(echo "${IGNOREFILES}" | tr ' ' '\n')"; \
efiles="$$(svn propget svn:ignore .)"; \
sfiles="$$(printf "$${files}\n$${efiles}" | sort -u)"; \
eval svn propset svn:ignore \'"$${sfiles}"\' .; \
fi