Ignore fixes.

This commit is contained in:
Roy Marples
2008-03-03 13:14:54 +00:00
parent 7a8e9d4ddb
commit f35c879bb8
5 changed files with 8 additions and 3 deletions

View File

@@ -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 \