Blob Blame History Raw
From 42e1eae4d1b159438d6541744c4b8e058bca89b2 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jakub@thefilaks.net>
Date: Sun, 4 Dec 2016 04:42:43 -0500
Subject: [PATCH] tests: include testsuite.h in the dist archive

To make it possible to use those C macros in other projects.

Signed-off-by: Jakub Filak <jakub@thefilaks.net>

Conflicts:
	tests/Makefile.am
---
 tests/Makefile.am | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 52dfce4c..8f18c151 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,6 +24,11 @@ EXTRA_DIST = package.m4
 ## Test suite.  ##
 ## ------------ ##
 
+libreport_include_helpersdir = $(includedir)/libreport/helpers
+libreport_include_helpers_HEADERS = \
+	helpers/testsuite.h \
+	helpers/testsuite_tools.h
+
 TESTSUITE_AT = \
   local.at \
   testsuite.at \
@@ -60,7 +65,7 @@ MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
 check_DATA = atconfig atlocal $(TESTSUITE)
 DISTCLEANFILES = atconfig
 EXTRA_DIST += atlocal.in conf ureport ureport-rhts-credentials \
-              helpers/testsuite.h bugzilla_plugin.at.in
+              bugzilla_plugin.at.in
 
 atconfig: $(top_builddir)/config.status
 	(cd ${top_builddir} && ./config.status ${subdir}/atconfig)
-- 
2.17.2