From 38e6c9ba5c584dfbf20f98eace464595405e1c88 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 4 Dec 2008 12:38:23 +0000 Subject: make ignore now configures the sv:ignore property. --- mk/svnignore.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mk/svnignore.mk (limited to 'mk/svnignore.mk') diff --git a/mk/svnignore.mk b/mk/svnignore.mk new file mode 100644 index 00000000..6a979f62 --- /dev/null +++ b/mk/svnignore.mk @@ -0,0 +1,12 @@ +# rules to make svn ignore files +# Copyright 2008 Roy Marples +# 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 -- cgit v1.2.3