mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 14:53:03 +00:00
build: Autogenerate more ignore files
The tests/accessibility, tests/micro-bench and the examples directory in the coobook create a lot of non-installed binaries. Since we know who they are, and we ignore them, we can auto-generate the ignore files as well. The rest of Clutter is covered by the main ignore file.
This commit is contained in:
parent
f14587aadc
commit
94c8635d0f
@ -6,6 +6,7 @@ EXTRA_DIST = \
|
|||||||
Makefile.am.enums \
|
Makefile.am.enums \
|
||||||
Makefile.am.changelog \
|
Makefile.am.changelog \
|
||||||
Makefile.am.gcov \
|
Makefile.am.gcov \
|
||||||
|
Makefile.am.gitignore \
|
||||||
dolt.m4 \
|
dolt.m4 \
|
||||||
introspection.m4 \
|
introspection.m4 \
|
||||||
gtk-doc.m4 \
|
gtk-doc.m4 \
|
||||||
|
21
build/autotools/Makefile.am.gitignore
Normal file
21
build/autotools/Makefile.am.gitignore
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# 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
|
8
doc/cookbook/examples/.gitignore
vendored
8
doc/cookbook/examples/.gitignore
vendored
@ -1,8 +0,0 @@
|
|||||||
/animations-rotating
|
|
||||||
/text-shadow
|
|
||||||
/textures-reflection
|
|
||||||
/textures-split-go
|
|
||||||
/textures-sub-texture
|
|
||||||
/layouts-stacking
|
|
||||||
/layouts-stacking-diff-sized-actors
|
|
||||||
/events-mouse-scroll
|
|
@ -40,3 +40,7 @@ textures_sub_texture_SOURCES = textures-sub-texture.c
|
|||||||
layouts_stacking_SOURCES = layouts-stacking.c
|
layouts_stacking_SOURCES = layouts-stacking.c
|
||||||
layouts_stacking_diff_sized_actors_SOURCES = layouts-stacking-diff-sized-actors.c
|
layouts_stacking_diff_sized_actors_SOURCES = layouts-stacking-diff-sized-actors.c
|
||||||
events_mouse_scroll_SOURCES = events-mouse-scroll.c
|
events_mouse_scroll_SOURCES = events-mouse-scroll.c
|
||||||
|
|
||||||
|
DISTCLEANFILES =
|
||||||
|
|
||||||
|
-include $(top_srcdir)/build/autotools/Makefile.am.gitignore
|
||||||
|
5
tests/accessibility/.gitignore
vendored
5
tests/accessibility/.gitignore
vendored
@ -1,5 +0,0 @@
|
|||||||
/cally-atkcomponent-example
|
|
||||||
/cally-atkeditabletext-example
|
|
||||||
/cally-atkevents-example
|
|
||||||
/cally-atktext-example
|
|
||||||
/cally-clone-example
|
|
@ -61,3 +61,7 @@ cally_clone_example_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS) \
|
|||||||
$(INCLUDES)
|
$(INCLUDES)
|
||||||
cally_clone_example_SOURCES = cally-clone-example.c \
|
cally_clone_example_SOURCES = cally-clone-example.c \
|
||||||
$(common_sources)
|
$(common_sources)
|
||||||
|
|
||||||
|
DISTCLEANFILES =
|
||||||
|
|
||||||
|
-include $(top_srcdir)/build/autotools/Makefile.am.gitignore
|
||||||
|
5
tests/micro-bench/.gitignore
vendored
5
tests/micro-bench/.gitignore
vendored
@ -1,5 +0,0 @@
|
|||||||
*.o
|
|
||||||
/test-picking
|
|
||||||
/test-random-text
|
|
||||||
/test-text-perf
|
|
||||||
/test-text
|
|
@ -1,5 +1,7 @@
|
|||||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
||||||
|
|
||||||
|
DISTCLEANFILES =
|
||||||
|
|
||||||
noinst_PROGRAMS = \
|
noinst_PROGRAMS = \
|
||||||
test-text \
|
test-text \
|
||||||
test-picking \
|
test-picking \
|
||||||
@ -26,3 +28,4 @@ test_picking_SOURCES = test-picking.c
|
|||||||
test_text_perf_SOURCES = test-text-perf.c
|
test_text_perf_SOURCES = test-text-perf.c
|
||||||
test_random_text_SOURCES = test-random-text.c
|
test_random_text_SOURCES = test-random-text.c
|
||||||
|
|
||||||
|
-include $(top_srcdir)/build/autotools/Makefile.am.gitignore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user