diff options
author | Roy Marples <roy@marples.name> | 2008-03-03 13:14:54 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-03 13:14:54 +0000 |
commit | f35c879bb8b703bd15805b19c55018bd9e9a4e6a (patch) | |
tree | b78306fe127acfd5187b6e81e13893323f7c7a77 /mk/gitignore.mk | |
parent | 7a8e9d4ddbe121bf2cafb095e9ecf262bc074133 (diff) |
Ignore fixes.
Diffstat (limited to 'mk/gitignore.mk')
-rw-r--r-- | mk/gitignore.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/gitignore.mk b/mk/gitignore.mk index 34d3539e..fca262be 100644 --- a/mk/gitignore.mk +++ b/mk/gitignore.mk @@ -3,8 +3,11 @@ IGNOREFILES+= ${CLEANFILES} +.PHONY: .gitignore + .gitignore: - for obj in ${IGNOREFILES}; do \ + @if test -n "${IGNOREFILES}"; then echo "Ignoring ${IGNOREFILES}"; fi + @for obj in ${IGNOREFILES}; do \ if ! test -r .gitignore; then \ echo "$${obj}" > .gitignore || exit $$?; \ elif ! grep -q "^$${obj}$$" .gitignore; then \ |