openrc/mk/svnignore.mk

13 lines
364 B
Makefile
Raw Normal View History

# rules to make svn ignore files
2008-03-03 18:34:08 +05:30
# Copyright 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
2008-03-03 18:34:08 +05:30
IGNOREFILES+= ${CLEANFILES}
ignore:
2008-03-03 19:01:25 +05:30
@if test -n "${IGNOREFILES}"; then \
echo "Ignoring ${IGNOREFILES}"; \
files="$$(echo ${IGNOREFILES} | tr ' ' '\n')"; \
eval svn propset svn:ignore \'"$${files}"\' .; \
2008-03-03 19:01:25 +05:30
fi