aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/svnignore.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/svnignore.mk b/mk/svnignore.mk
index 6a979f62..1d2c6250 100644
--- a/mk/svnignore.mk
+++ b/mk/svnignore.mk
@@ -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