doc+src: More reorganization and fixing of README
Change-Id: I8ff2dcdabd78f38cc0d5b826883121a9444ef664
diff --git a/wscript b/wscript
index bb8df5b..946b472 100644
--- a/wscript
+++ b/wscript
@@ -1,25 +1,29 @@
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
-VERSION='0.3'
-NAME="ndn-traffic"
+VERSION='0.1'
+NAME="ndn-traffic-generator"
def options(opt):
- opt.load('compiler_cxx')
+ opt.load('compiler_cxx gnu_dirs')
def configure(conf):
- conf.load("compiler_cxx")
- conf.check_cfg(package='libndn-cpp-dev', args=['--cflags', '--libs'], uselib_store='NDN_CPP', mandatory=True)
+ conf.load("compiler_cxx gnu_dirs")
+ conf.check_cfg(package='libndn-cpp-dev', args=['--cflags', '--libs'],
+ uselib_store='NDN_CPP', mandatory=True)
def build (bld):
bld.program (
features = 'cxx',
- target = 'ndntraffic',
- source = 'ndn-traffic-client.cpp',
+ target = 'ndn-traffic',
+ source = 'src/ndn-traffic-client.cpp',
use = 'NDN_CPP',
)
bld.program (
features = 'cxx',
- target = 'ndntrafficserver',
- source = 'ndn-traffic-server.cpp',
+ target = 'ndn-traffic-server',
+ source = 'src/ndn-traffic-server.cpp',
use = 'NDN_CPP',
)
+
+ bld.install_files('${SYSCONFDIR}/ndn', ['ndn-traffic-client.conf.sample',
+ 'ndn-traffic-server.conf.sample'])