aboutsummaryrefslogtreecommitdiff
path: root/mk/svnignore.mk
blob: 6a979f623121be99c9746053aa26395b26e2d760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# rules to make svn ignore files 
# Copyright 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.

IGNOREFILES+=	${CLEANFILES}

ignore:
	@if test -n "${IGNOREFILES}"; then \
		echo "Ignoring ${IGNOREFILES}"; \
		files="$$(echo ${IGNOREFILES} | tr ' ' '\n')"; \
		eval svn propset svn:ignore \'"$${files}"\' .; \
	fi