Go back to git
This commit is contained in:
15
mk/gitignore.mk
Normal file
15
mk/gitignore.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
# rules to make .gitignore files
|
||||
# Copyright 2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
IGNOREFILES+= ${CLEANFILES}
|
||||
|
||||
.PHONY: .gitignore
|
||||
|
||||
.gitignore:
|
||||
@if test -n "${IGNOREFILES}"; then \
|
||||
echo "Ignoring ${IGNOREFILES}"; \
|
||||
echo ${IGNOREFILES} | tr ' ' '\n' > .gitignore; \
|
||||
fi
|
||||
|
||||
ignore: .gitignore
|
Reference in New Issue
Block a user