1 # this file should only be used in directories that generate test
2 # or example binaries through noinst_PROGRAMS; it is *not* a full
3 # generator of Git ignore files, and it's not meant to be used as
4 # the top-level Git ignore file generator.
6 $(srcdir)/.gitignore: Makefile.am
10 ) > $(srcdir)/.gitignore ; \
11 for p in $(noinst_PROGRAMS); do \
12 echo "/$$p" >> $(srcdir)/.gitignore ; \
15 gitignore: $(srcdir)/.gitignore
18 $(QUIET_RM)rm -f $(srcdir)/.gitignore
20 .PHONY: gitignore gitignore-clean
24 maintainer-clean: gitignore-clean