From e72aeebbcd0f46dec9da255b07184ed24ed1b4ef Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 4 Dec 2008 19:21:47 +0000 Subject: make ignore now updates svn:ignore as different OS's have different targets. --- mk/svnignore.mk | 8 +++++--- 1 file 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 -- cgit v1.2.3