From: Tom Hromatka Date: Fri, 18 Mar 2022 14:45:30 +0000 (-0600) Subject: gunit: Update Makefile.am to support make distcheck X-Git-Tag: v3.1.0~308^2~2^2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af04a5d66194bd4c2b63743b8ced7bc136f4677a;p=thirdparty%2Flibcgroup.git gunit: Update Makefile.am to support make distcheck Signed-off-by: Tom Hromatka --- diff --git a/gunit/Makefile.am b/gunit/Makefile.am index 1e58a4e0..ba91039c 100644 --- a/gunit/Makefile.am +++ b/gunit/Makefile.am @@ -9,8 +9,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= \ @@ -43,5 +43,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