Modification of makefiles. cgrulesengd.c uses new functions for loading 
files from /etc/cgconfig.d/. Thus there is a dependency on 
tools-common.[c|h] files. Unfortunatelly they are in ../tools directory, 
adding dependency on files in a diffrent directory but on the same 
level. Makefile.in is regenerated from Makefile.am using autoreconf -ivf.

Tested on my local machine, all files are loaded properly, cgrulesengd 
properly creates groups based on templates from files from /etc/cgconfig.d/.

Signed-off-by: Jan Chaloupka <jchal...@redhat.com>
---
  src/daemon/Makefile.am | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index f3100ed..abbbe30 100644
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
@@ -1,9 +1,9 @@
-INCLUDES = -I $(top_srcdir)/include
+INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/include

  if WITH_DAEMON

  sbin_PROGRAMS = cgrulesengd
-cgrulesengd_SOURCES = cgrulesengd.c cgrulesengd.h
+cgrulesengd_SOURCES = cgrulesengd.c cgrulesengd.h 
../tools/tools-common.h ../tools/tools-common.c
  cgrulesengd_LDADD = $(top_builddir)/src/.libs/libcgroup.la -lrt
  cgrulesengd_LDFLAGS = -L$(top_builddir)/src/.libs

-- 
1.9.0


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to