Blame SOURCES/0236-tests-include-testsuite.h-in-the-dist-archive.patch

4b6aa8
From 42e1eae4d1b159438d6541744c4b8e058bca89b2 Mon Sep 17 00:00:00 2001
4b6aa8
From: Jakub Filak <jakub@thefilaks.net>
4b6aa8
Date: Sun, 4 Dec 2016 04:42:43 -0500
4b6aa8
Subject: [PATCH] tests: include testsuite.h in the dist archive
4b6aa8
4b6aa8
To make it possible to use those C macros in other projects.
4b6aa8
4b6aa8
Signed-off-by: Jakub Filak <jakub@thefilaks.net>
4b6aa8
4b6aa8
Conflicts:
4b6aa8
	tests/Makefile.am
4b6aa8
---
4b6aa8
 tests/Makefile.am | 7 ++++++-
4b6aa8
 1 file changed, 6 insertions(+), 1 deletion(-)
4b6aa8
4b6aa8
diff --git a/tests/Makefile.am b/tests/Makefile.am
4b6aa8
index 52dfce4c..8f18c151 100644
4b6aa8
--- a/tests/Makefile.am
4b6aa8
+++ b/tests/Makefile.am
4b6aa8
@@ -24,6 +24,11 @@ EXTRA_DIST = package.m4
4b6aa8
 ## Test suite.  ##
4b6aa8
 ## ------------ ##
4b6aa8
 
4b6aa8
+libreport_include_helpersdir = $(includedir)/libreport/helpers
4b6aa8
+libreport_include_helpers_HEADERS = \
4b6aa8
+	helpers/testsuite.h \
4b6aa8
+	helpers/testsuite_tools.h
4b6aa8
+
4b6aa8
 TESTSUITE_AT = \
4b6aa8
   local.at \
4b6aa8
   testsuite.at \
4b6aa8
@@ -60,7 +65,7 @@ MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
4b6aa8
 check_DATA = atconfig atlocal $(TESTSUITE)
4b6aa8
 DISTCLEANFILES = atconfig
4b6aa8
 EXTRA_DIST += atlocal.in conf ureport ureport-rhts-credentials \
4b6aa8
-              helpers/testsuite.h bugzilla_plugin.at.in
4b6aa8
+              bugzilla_plugin.at.in
4b6aa8
 
4b6aa8
 atconfig: $(top_builddir)/config.status
4b6aa8
 	(cd ${top_builddir} && ./config.status ${subdir}/atconfig)
4b6aa8
-- 
4b6aa8
2.17.2
4b6aa8