* common.mk (AM_CPPFLAGS): Add paths to scribo/ dirs instead of
top-level dirs.
---
scribo/ChangeLog | 7 +++++++
scribo/common.mk | 7 ++++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index d7f779c..cd207a3 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,10 @@
+2013-03-04 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Fix inclusion paths.
+
+ * common.mk (AM_CPPFLAGS): Add paths to scribo/ dirs instead of
+ top-level dirs.
+
2013-02-13 Roland Levillain <roland(a)lrde.epita.fr>
Simplify more Scribo Makefiles thanks to AM_DEFAULT_SOURCE_EXT.
diff --git a/scribo/common.mk b/scribo/common.mk
index ef59d88..a0dee7c 100644
--- a/scribo/common.mk
+++ b/scribo/common.mk
@@ -2,7 +2,7 @@
## Common Automake parameters.
-## Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE).
+## Copyright (C) 2010, 2013 EPITA Research and Development Laboratory (LRDE).
##
## This file is part of Olena.
##
@@ -21,6 +21,7 @@
# C++ sources.
AM_DEFAULT_SOURCE_EXT = .cc
-# Add paths to Scribo's headers.
-AM_CPPFLAGS = -I$(top_srcdir)/ -I$(top_builddir)/ \
+# Add paths to Scribo's and Milena's headers.
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/scribo -I$(top_builddir)/scribo \
-I$(top_srcdir)/milena -I$(top_builddir)/milena
--
1.7.2.5
Show replies by date