https://svn.lrde.epita.fr/svn/ranch/trunk
Index: ChangeLog
from Nicolas Desprès <nicolas.despres(a)lrde.epita.fr>
Update header inclusion.
* lib/cxx/test/bencher-test.htt:,
* lib/cxx/src/inputs.hh:,
* lib/cxx/src/outputs.hh:,
* lib/cxx/src/inputs.hxx:,
* lib/cxx/src/ranch.hh:,
* lib/cxx/src/outputs.hxx:,
* lib/cxx/src/bencher.cc:,
* lib/cxx/src/misc/yamlize.hxx:,
* lib/cxx/src/misc/yamlize.hh:,
* lib/cxx/src/misc/Makefile.am:,
* lib/cxx/src/dumper/yaml.hh:,
* lib/cxx/src/dumper/yaml.cc:,
* lib/cxx/src/dumper/all.hh:,
* lib/cxx/src/dumper/Makefile.am:,
* lib/cxx/src/dumper/dumper.hh:,
* lib/cxx/src/input/input.cc:,
* lib/cxx/src/input/input.hxx:,
* lib/cxx/src/input/Makefile.am:,
* lib/cxx/src/input/input.hh:,
* lib/cxx/src/output/output.cc:,
* lib/cxx/src/output/u-time.cc:,
* lib/cxx/src/output/output.hxx:,
* lib/cxx/src/output/u-time.hxx:,
* lib/cxx/src/output/Makefile.am:,
* lib/cxx/src/output/output.hh:,
* lib/cxx/src/output/u-time.hh:,
* lib/cxx/src/bencher.hh:,
* lib/cxx/src/io.hh:,
* lib/cxx/src/Makefile.am:,
* lib/cxx/src/bencher.hxx:,
* lib/cxx/src/io.hxx: Use <> instead of "".
src/Makefile.am | 11 ++++++++++-
src/bencher.cc | 6 +++---
src/bencher.hh | 12 ++++++------
src/bencher.hxx | 2 +-
src/dumper/Makefile.am | 8 +++++++-
src/dumper/all.hh | 4 ++--
src/dumper/dumper.hh | 2 +-
src/dumper/yaml.cc | 4 ++--
src/dumper/yaml.hh | 2 +-
src/input/Makefile.am | 4 ++++
src/input/input.cc | 2 +-
src/input/input.hh | 4 ++--
src/input/input.hxx | 2 +-
src/inputs.hh | 4 ++--
src/inputs.hxx | 2 +-
src/io.hh | 2 +-
src/io.hxx | 2 +-
src/misc/Makefile.am | 4 ++++
src/misc/yamlize.hh | 2 +-
src/misc/yamlize.hxx | 2 +-
src/output/Makefile.am | 7 +++++++
src/output/output.cc | 2 +-
src/output/output.hh | 4 ++--
src/output/output.hxx | 2 +-
src/output/u-time.cc | 2 +-
src/output/u-time.hh | 4 ++--
src/output/u-time.hxx | 2 +-
src/outputs.hh | 4 ++--
src/outputs.hxx | 2 +-
src/ranch.hh | 8 ++++----
test/bencher-test.htt | 4 ++--
31 files changed, 76 insertions(+), 46 deletions(-)
Index: lib/cxx/test/bencher-test.htt
--- lib/cxx/test/bencher-test.htt (revision 26)
+++ lib/cxx/test/bencher-test.htt (working copy)
@@ -2,8 +2,8 @@
#include <cxxtest/TestSuite.h>
#include <sstream>
-#include "bencher.hh"
-#include "dumper/yaml.hh"
+#include <bencher.hh>
+#include <dumper/yaml.hh>
#define OUTPUT_CTOR_1 \
"- 'test1':\n\
Index: lib/cxx/src/inputs.hh
--- lib/cxx/src/inputs.hh (revision 26)
+++ lib/cxx/src/inputs.hh (working copy)
@@ -4,7 +4,7 @@
# define RANCH_INPUTS_HH
# include <list>
-# include "input/input.hh"
+# include <input/input.hh>
namespace Ranch
{
@@ -32,7 +32,7 @@
} // namespace Ranch
-# include "inputs.hxx"
+# include <inputs.hxx>
#endif // !RANCH_INPUTS_HH
Index: lib/cxx/src/outputs.hh
--- lib/cxx/src/outputs.hh (revision 26)
+++ lib/cxx/src/outputs.hh (working copy)
@@ -4,7 +4,7 @@
# define RANCH_OUTPUTS_HH
# include <list>
-# include "output/output.hh"
+# include <output/output.hh>
namespace Ranch
{
@@ -31,7 +31,7 @@
} // namespace Ranch
-# include "outputs.hxx"
+# include <outputs.hxx>
#endif // !RANCH_OUTPUTS_HH
Index: lib/cxx/src/inputs.hxx
--- lib/cxx/src/inputs.hxx (revision 26)
+++ lib/cxx/src/inputs.hxx (working copy)
@@ -2,7 +2,7 @@
#ifndef RANCH_INPUTS_HXX
# define RANCH_INPUTS_HXX
-# include "inputs.hh"
+# include <inputs.hh>
namespace Ranch
{
Index: lib/cxx/src/ranch.hh
--- lib/cxx/src/ranch.hh (revision 26)
+++ lib/cxx/src/ranch.hh (working copy)
@@ -2,9 +2,9 @@
#ifndef RANCH_HH
# define RANCH_HH
-# include "bencher.hh"
-# include "input/input.hh"
-# include "output/all.hh"
-# include "dumper/all.hh"
+# include <bencher.hh>
+# include <input/input.hh>
+# include <output/all.hh>
+# include <dumper/all.hh>
#endif // !RANCH_HH
Index: lib/cxx/src/outputs.hxx
--- lib/cxx/src/outputs.hxx (revision 26)
+++ lib/cxx/src/outputs.hxx (working copy)
@@ -2,7 +2,7 @@
#ifndef RANCH_OUTPUTS_HXX
# define RANCH_OUTPUTS_HXX
-# include "outputs.hh"
+# include <outputs.hh>
namespace Ranch
{
Index: lib/cxx/src/bencher.cc
--- lib/cxx/src/bencher.cc (revision 26)
+++ lib/cxx/src/bencher.cc (working copy)
@@ -1,7 +1,7 @@
-#include "bencher.hh"
+#include <bencher.hh>
#include <cstdarg>
-#include "dumper/libdumper.hh"
-#include "dumper/dumper.hh"
+#include <dumper/libdumper.hh>
+#include <dumper/dumper.hh>
namespace Ranch
{
Index: lib/cxx/src/misc/yamlize.hxx
--- lib/cxx/src/misc/yamlize.hxx (revision 26)
+++ lib/cxx/src/misc/yamlize.hxx (working copy)
@@ -2,7 +2,7 @@
#ifndef RANCH_MISC_YAMLIZE_HXX
# define RANCH_MISC_YAMLIZE_HXX
-# include "misc/yamlize.hh"
+# include <misc/yamlize.hh>
namespace Ranch
{
Index: lib/cxx/src/misc/yamlize.hh
--- lib/cxx/src/misc/yamlize.hh (revision 26)
+++ lib/cxx/src/misc/yamlize.hh (working copy)
@@ -27,6 +27,6 @@
} // namespace Misc
} // namespace Ranch
-# include "misc/yamlize.hxx"
+# include <misc/yamlize.hxx>
#endif // !RANCH_MISC_YAMLIZE_HH
Index: lib/cxx/src/misc/Makefile.am
--- lib/cxx/src/misc/Makefile.am (revision 26)
+++ lib/cxx/src/misc/Makefile.am (working copy)
@@ -5,4 +5,8 @@
yamlize.hh \
yamlize.cc \
yamlize.hxx
+pkgincludedir = $(includedir)/$(PACKAGE)/misc
+pkginclude_HEADERS = \
+ yamlize.hh \
+ yamlize.hxx
Index: lib/cxx/src/dumper/yaml.hh
--- lib/cxx/src/dumper/yaml.hh (revision 26)
+++ lib/cxx/src/dumper/yaml.hh (working copy)
@@ -2,7 +2,7 @@
#ifndef RANCH_YAML_HH
# define RANCH_YAML_HH
-# include "dumper/dumper.hh"
+# include <dumper/dumper.hh>
namespace Ranch
{
Index: lib/cxx/src/dumper/yaml.cc
--- lib/cxx/src/dumper/yaml.cc (revision 26)
+++ lib/cxx/src/dumper/yaml.cc (working copy)
@@ -1,5 +1,5 @@
-#include "dumper/yaml.hh"
-#include "misc/yamlize.hh"
+#include <dumper/yaml.hh>
+#include <misc/yamlize.hh>
namespace Ranch
{
Index: lib/cxx/src/dumper/all.hh
--- lib/cxx/src/dumper/all.hh (revision 26)
+++ lib/cxx/src/dumper/all.hh (working copy)
@@ -1,8 +1,8 @@
#ifndef RANCH_DUMPER_ALL_HH
# define RANCH_DUMPER_ALL_HH
-# include "dumper/dumper.hh"
-# include "dumper/yaml.hh"
+# include <dumper/dumper.hh>
+# include <dumper/yaml.hh>
#endif // !RANCH_DUMPER_ALL_HH
Index: lib/cxx/src/dumper/Makefile.am
--- lib/cxx/src/dumper/Makefile.am (revision 26)
+++ lib/cxx/src/dumper/Makefile.am (working copy)
@@ -10,4 +10,10 @@
dumper.cc \
yaml.hh \
yaml.cc
-
+pkgincludedir = $(includedir)/$(PACKAGE)/dumper
+pkginclude_HEADERS = \
+ all.hh \
+ fwd.hh \
+ libdumper.hh \
+ dumper.hh \
+ yaml.hh
Index: lib/cxx/src/dumper/dumper.hh
--- lib/cxx/src/dumper/dumper.hh (revision 26)
+++ lib/cxx/src/dumper/dumper.hh (working copy)
@@ -3,7 +3,7 @@
# define RANCH_DUMPER_HH
# include <string>
-# include "bencher.hh"
+# include <bencher.hh>
namespace Ranch
{
Index: lib/cxx/src/input/input.cc
--- lib/cxx/src/input/input.cc (revision 26)
+++ lib/cxx/src/input/input.cc (working copy)
@@ -1,4 +1,4 @@
-#include "input/input.hh"
+#include <input/input.hh>
namespace Ranch
{
Index: lib/cxx/src/input/input.hxx
--- lib/cxx/src/input/input.hxx (revision 26)
+++ lib/cxx/src/input/input.hxx (working copy)
@@ -2,7 +2,7 @@
#ifndef RANCH_INPUT_INPUT_HXX
# define RANCH_INPUT_INPUT_HXX
-# include "input/input.hh"
+# include <input/input.hh>
# include <ostream>
namespace Ranch
Index: lib/cxx/src/input/Makefile.am
--- lib/cxx/src/input/Makefile.am (revision 26)
+++ lib/cxx/src/input/Makefile.am (working copy)
@@ -5,3 +5,7 @@
input.hh \
input.hxx \
input.cc
+pkgincludedir = $(includedir)/$(PACKAGE)/input
+pkginclude_HEADERS = \
+ input.hh \
+ input.hxx
Index: lib/cxx/src/input/input.hh
--- lib/cxx/src/input/input.hh (revision 26)
+++ lib/cxx/src/input/input.hh (working copy)
@@ -5,7 +5,7 @@
# include <string>
# include <iosfwd>
-# include "io.hh"
+# include <io.hh>
namespace Ranch
{
@@ -23,7 +23,7 @@
} // namespace Ranch
-# include "input/input.hxx"
+# include <input/input.hxx>
#endif // !RANCH_INPUT_INPUT_HH
Index: lib/cxx/src/output/output.cc
--- lib/cxx/src/output/output.cc (revision 26)
+++ lib/cxx/src/output/output.cc (working copy)
@@ -1,4 +1,4 @@
-#include "output/output.hh"
+#include <output/output.hh>
namespace Ranch
{
Index: lib/cxx/src/output/u-time.cc
--- lib/cxx/src/output/u-time.cc (revision 26)
+++ lib/cxx/src/output/u-time.cc (working copy)
@@ -1,4 +1,4 @@
-#include "output/u-time.hh"
+#include <output/u-time.hh>
#include <sys/times.h>
#include <cstdio>
#include <cerrno>
Index: lib/cxx/src/output/output.hxx
--- lib/cxx/src/output/output.hxx (revision 26)
+++ lib/cxx/src/output/output.hxx (working copy)
@@ -2,7 +2,7 @@
#ifndef RANCH_OUTPUT_OUTPUT_HXX
# define RANCH_OUTPUT_OUTPUT_HXX
-# include "output/output.hh"
+# include <output/output.hh>
# include <ostream>
namespace Ranch
Index: lib/cxx/src/output/u-time.hxx
--- lib/cxx/src/output/u-time.hxx (revision 26)
+++ lib/cxx/src/output/u-time.hxx (working copy)
@@ -2,7 +2,7 @@
#ifndef RANCH_OUTPUT_UTIME_HXX
# define RANCH_OUTPUT_UTIME_HXX
-# include "output/u-time.hh"
+# include <output/u-time.hh>
namespace Ranch
{
Index: lib/cxx/src/output/Makefile.am
--- lib/cxx/src/output/Makefile.am (revision 26)
+++ lib/cxx/src/output/Makefile.am (working copy)
@@ -9,5 +9,12 @@
u-time.hh \
u-time.hxx \
u-time.cc
+pkgincludedir = $(includedir)/$(PACKAGE)/output
+pkginclude_HEADERS = \
+ all.hh \
+ output.hh \
+ output.hxx \
+ u-time.hh \
+ u-time.hxx
Index: lib/cxx/src/output/output.hh
--- lib/cxx/src/output/output.hh (revision 26)
+++ lib/cxx/src/output/output.hh (working copy)
@@ -5,7 +5,7 @@
# include <string>
# include <iosfwd>
-# include "io.hh"
+# include <io.hh>
namespace Ranch
{
@@ -29,7 +29,7 @@
} // namespace Ranch
-# include "output/output.hxx"
+# include <output/output.hxx>
#endif // !RANCH_OUTPUT_OUTPUT_HH
Index: lib/cxx/src/output/u-time.hh
--- lib/cxx/src/output/u-time.hh (revision 26)
+++ lib/cxx/src/output/u-time.hh (working copy)
@@ -3,7 +3,7 @@
#ifndef RANCH_OUTPUT_UTIME_HH
# define RANCH_OUTPUT_UTIME_HH
-# include "output/output.hh"
+# include <output/output.hh>
namespace Ranch
{
@@ -28,7 +28,7 @@
} // namespace Output
} // namespace Ranch
-# include "output/u-time.hxx"
+# include <output/u-time.hxx>
#endif // !RANCH_OUTPUT_UTIME_HH
Index: lib/cxx/src/bencher.hh
--- lib/cxx/src/bencher.hh (revision 26)
+++ lib/cxx/src/bencher.hh (working copy)
@@ -3,11 +3,11 @@
# define RANCH_BENCH_HH
# include <string>
-# include "inputs.hh"
-# include "input/input.hh"
-# include "outputs.hh"
-# include "output/output.hh"
-# include "dumper/fwd.hh"
+# include <inputs.hh>
+# include <input/input.hh>
+# include <outputs.hh>
+# include <output/output.hh>
+# include <dumper/fwd.hh>
namespace Ranch
{
@@ -61,6 +61,6 @@
} // namespace Ranch
-# include "bencher.hxx"
+# include <bencher.hxx>
#endif // !RANCH_BENCH_HH
Index: lib/cxx/src/io.hh
--- lib/cxx/src/io.hh (revision 26)
+++ lib/cxx/src/io.hh (working copy)
@@ -31,7 +31,7 @@
} // namespace Ranch
-# include "io.hxx"
+# include <io.hxx>
#endif // !RANCH_IO_HH
Index: lib/cxx/src/Makefile.am
--- lib/cxx/src/Makefile.am (revision 26)
+++ lib/cxx/src/Makefile.am (working copy)
@@ -4,7 +4,16 @@
SUBDIRS = input output dumper misc
lib_LTLIBRARIES = libranch.la
-include_HEADERS = ranch.hh
+pkginclude_HEADERS = \
+ ranch.hh \
+ bencher.hh \
+ bencher.hxx \
+ io.hh \
+ io.hxx \
+ inputs.hh \
+ inputs.hxx \
+ outputs.hh \
+ outputs.hxx
libranch_la_SOURCES = \
bencher.hh \
bencher.hxx \
Index: lib/cxx/src/bencher.hxx
--- lib/cxx/src/bencher.hxx (revision 26)
+++ lib/cxx/src/bencher.hxx (working copy)
@@ -2,7 +2,7 @@
#ifndef RANCH_BENCHER_HXX
# define RANCH_BENCHER_HXX
-# include "bencher.hh"
+# include <bencher.hh>
namespace Ranch
{
Index: lib/cxx/src/io.hxx
--- lib/cxx/src/io.hxx (revision 26)
+++ lib/cxx/src/io.hxx (working copy)
@@ -2,7 +2,7 @@
#ifndef RANCH_IO_HXX
# define RANCH_IO_HXX
-# include "io.hh"
+# include <io.hh>
# include <ostream>
namespace Ranch