build: organize building system, support sphinx doc

Change-Id: I88ba0186a3defe1ffcbd55fb5f8ef81b5d2d3d81
diff --git a/src/sync-digest.cc b/src/sync-digest.cc
index 81d3e4e..ce1d506 100644
--- a/src/sync-digest.cc
+++ b/src/sync-digest.cc
@@ -24,8 +24,8 @@
 #include "sync-digest.h"
 #include <string.h>
 
-#include <boost/assert.hpp>
-#include <boost/throw_exception.hpp>
+#include "boost-header.h"
+
 typedef boost::error_info<struct tag_errmsg, std::string> errmsg_info_str;
 typedef boost::error_info<struct tag_errmsg, int> errmsg_info_int;
 
@@ -36,9 +36,7 @@
 // #include <boost/archive/iterators/binary_from_base64.hpp>
 // #endif
 
-#include <boost/archive/iterators/transform_width.hpp>
-#include <boost/iterator/transform_iterator.hpp>
-#include <boost/archive/iterators/dataflow_exception.hpp>
+
 
 using namespace boost;
 using namespace boost::archive::iterators;