2008-03-03 13:04:08 +00:00
|
|
|
# rules to make .gitignore files
|
|
|
|
# Copyright 2008 Roy Marples <roy@marples.name>
|
2008-03-26 17:53:37 +00:00
|
|
|
# All rights reserved. Released under the 2-clause BSD license.
|
2008-03-03 13:04:08 +00:00
|
|
|
|
|
|
|
IGNOREFILES+= ${CLEANFILES}
|
|
|
|
|
2008-03-03 13:14:54 +00:00
|
|
|
.PHONY: .gitignore
|
|
|
|
|
2008-03-03 13:04:08 +00:00
|
|
|
.gitignore:
|
2008-03-03 13:31:25 +00:00
|
|
|
@if test -n "${IGNOREFILES}"; then \
|
|
|
|
echo "Ignoring ${IGNOREFILES}"; \
|
|
|
|
echo ${IGNOREFILES} | tr ' ' '\n' > .gitignore; \
|
|
|
|
fi
|
2008-03-03 13:04:08 +00:00
|
|
|
|
|
|
|
gitignore: .gitignore
|