Makefile.am.enums \
Makefile.am.changelog \
Makefile.am.gcov \
+ Makefile.am.gitignore \
dolt.m4 \
introspection.m4 \
gtk-doc.m4 \
--- /dev/null
+# this file should only be used in directories that generate test
+# or example binaries through noinst_PROGRAMS; it is *not* a full
+# generator of Git ignore files, and it's not meant to be used as
+# the top-level Git ignore file generator.
+
+$(srcdir)/.gitignore: Makefile.am
+ $(QUIET_GEN)( \
+ echo "*.o" ; \
+ echo ".gitignore" ; \
+ ) > .gitignore ; \
+ for p in $(noinst_PROGRAMS); do \
+ echo "/$$p" >> .gitignore ; \
+ done
+
+gitignore: $(srcdir)/.gitignore
+
+.PHONY: gitignore
+
+DISTCLEANFILES += $(srcdir)/.gitignore
+
+all: gitignore
+++ /dev/null
-/animations-rotating
-/text-shadow
-/textures-reflection
-/textures-split-go
-/textures-sub-texture
-/layouts-stacking
-/layouts-stacking-diff-sized-actors
-/events-mouse-scroll
layouts_stacking_SOURCES = layouts-stacking.c
layouts_stacking_diff_sized_actors_SOURCES = layouts-stacking-diff-sized-actors.c
events_mouse_scroll_SOURCES = events-mouse-scroll.c
+
+DISTCLEANFILES =
+
+-include $(top_srcdir)/build/autotools/Makefile.am.gitignore
+++ /dev/null
-/cally-atkcomponent-example
-/cally-atkeditabletext-example
-/cally-atkevents-example
-/cally-atktext-example
-/cally-clone-example
$(INCLUDES)
cally_clone_example_SOURCES = cally-clone-example.c \
$(common_sources)
+
+DISTCLEANFILES =
+
+-include $(top_srcdir)/build/autotools/Makefile.am.gitignore
+++ /dev/null
-*.o
-/test-picking
-/test-random-text
-/test-text-perf
-/test-text
include $(top_srcdir)/build/autotools/Makefile.am.silent
+DISTCLEANFILES =
+
noinst_PROGRAMS = \
test-text \
test-picking \
test_text_perf_SOURCES = test-text-perf.c
test_random_text_SOURCES = test-random-text.c
+-include $(top_srcdir)/build/autotools/Makefile.am.gitignore