From a012e44b6a68b12e676a4ef48bebe97206fbeb1c Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Mon, 7 Dec 2015 15:12:15 +0000 Subject: tests: remove .gitignore and add a Makefile rule to create it v2: generate the .gitignore file with the default target v3: remove the .gitignore file Signed-off-by: Thomas Wood --- tests/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index c4f1f014..02d52c9f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -32,12 +32,16 @@ dist_pkgdata_DATA = \ $(IMAGES) \ $(NULL) +all-local: .gitignore +.gitignore: Makefile.sources + @echo "$(pkglibexec_PROGRAMS) $(HANG) test-list.txt .gitignore" | sed 's/\s\+/\n/g' | sort > $@ + pkgdata_DATA = test-list.txt EXTRA_PROGRAMS = $(HANG) EXTRA_DIST = $(common_files) -CLEANFILES = $(EXTRA_PROGRAMS) test-list.txt +CLEANFILES = $(EXTRA_PROGRAMS) test-list.txt .gitignore AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(DEBUG_CFLAGS)\ -I$(srcdir)/.. \ -- cgit v1.2.3