2008-12-04 18:08:23 +05:30
|
|
|
# rules to make svn ignore files
|
2008-03-03 18:34:08 +05:30
|
|
|
# Copyright 2008 Roy Marples <roy@marples.name>
|
2008-03-26 23:23:37 +05:30
|
|
|
# All rights reserved. Released under the 2-clause BSD license.
|
2008-03-03 18:34:08 +05:30
|
|
|
|
|
|
|
IGNOREFILES+= ${CLEANFILES}
|
|
|
|
|
2008-12-04 18:08:23 +05:30
|
|
|
ignore:
|
2008-03-03 19:01:25 +05:30
|
|
|
@if test -n "${IGNOREFILES}"; then \
|
2008-12-05 00:51:47 +05:30
|
|
|
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}"\' .; \
|
2008-03-03 19:01:25 +05:30
|
|
|
fi
|