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 <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood
2015-12-07 15:12:15 +00:00
parent 40798efd85
commit a012e44b6a
2 changed files with 5 additions and 174 deletions
+5 -1
View File
@@ -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)/.. \