From: Tom Hromatka Date: Fri, 20 Jan 2023 17:12:17 +0000 (-0700) Subject: gunit: Update Makefile.am to support make distcheck X-Git-Tag: v2.0.3~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41407b1405c02d4cb51e970d1727179447b08d4a;p=thirdparty%2Flibcgroup.git gunit: Update Makefile.am to support make distcheck Signed-off-by: Tom Hromatka (cherry picked from commit af04a5d66194bd4c2b63743b8ced7bc136f4677a) --- diff --git a/tests/gunit/Makefile.am b/tests/gunit/Makefile.am index 654002cd..22f03960 100644 --- a/tests/gunit/Makefile.am +++ b/tests/gunit/Makefile.am @@ -22,8 +22,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \ -I$(top_srcdir)/src \ -I$(top_srcdir)/src/tools \ - -I$(top_builddir)/googletest/googletest/include \ - -I$(top_builddir)/googletest/googletest \ + -I$(top_srcdir)/googletest/googletest/include \ + -I$(top_srcdir)/googletest/googletest \ -std=c++11 \ -Wno-write-strings \ -DSTATIC= \ @@ -56,5 +56,8 @@ gtest_SOURCES = gtest.cpp \ 014-cgroupv2_get_subtree_control.cpp \ 015-cgroupv2_controller_enabled.cpp \ 016-cgset_parse_r_flag.cpp -gtest_LDFLAGS = -L$(top_builddir)/googletest/googletest -l:libgtest.so \ - -rpath $(abs_top_builddir)/googletest/googletest +gtest_LDFLAGS = -L$(top_srcdir)/googletest/googletest -l:libgtest.so \ + -rpath $(abs_top_srcdir)/googletest/googletest + +clean-local: + ${RM} test-procpidcgroup