diff options
author | Roy Marples <roy@marples.name> | 2008-12-04 19:21:47 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-12-04 19:21:47 +0000 |
commit | e72aeebbcd0f46dec9da255b07184ed24ed1b4ef (patch) | |
tree | a479902ae9b0d212a0848e6572315acb410a2c30 | |
parent | dc712a109e26201309fe918268d4af270b929553 (diff) |
make ignore now updates svn:ignore as different OS's have different targets.
-rw-r--r-- | mk/svnignore.mk | 8 |
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 |