openrc/mk/gitignore.mk

15 lines
297 B
Makefile
Raw Normal View History

2008-03-03 18:34:08 +05:30
# rules to make .gitignore files
# Copyright 2008 Roy Marples <roy@marples.name>
IGNOREFILES+= ${CLEANFILES}
2008-03-03 18:44:54 +05:30
.PHONY: .gitignore
2008-03-03 18:34:08 +05:30
.gitignore:
2008-03-03 19:01:25 +05:30
@if test -n "${IGNOREFILES}"; then \
echo "Ignoring ${IGNOREFILES}"; \
echo ${IGNOREFILES} | tr ' ' '\n' > .gitignore; \
fi
2008-03-03 18:34:08 +05:30
gitignore: .gitignore