aboutsummaryrefslogtreecommitdiff
path: root/load
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-31 12:48:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-31 12:48:40 +0200
commit1ab83e42e24dcc8f6e7f0abb6d76bb5c06a8f189 (patch)
tree31ece483b9241b5b7f3f8e651d0bacd55c1bb753 /load
parent68d62d528df5bd17711ed18660fe943cb944e951 (diff)
Add support for man page generation/install/dist
Diffstat (limited to 'load')
-rw-r--r--load/.gitignore4
-rw-r--r--load/buildfile8
-rw-r--r--load/load.cli (renamed from load/options.cli)4
-rw-r--r--load/load.cxx2
4 files changed, 9 insertions, 9 deletions
diff --git a/load/.gitignore b/load/.gitignore
index 2f464c5..49afbe2 100644
--- a/load/.gitignore
+++ b/load/.gitignore
@@ -1,3 +1,3 @@
-options
-options.?xx
+*-options
+*-options.?xx
brep-load
diff --git a/load/buildfile b/load/buildfile
index c3a324f..6b72dae 100644
--- a/load/buildfile
+++ b/load/buildfile
@@ -9,12 +9,12 @@ import libs += libodb%lib{odb}
include ../brep/
-exe{brep-load}: \
-{ cxx}{ load } \
-{hxx ixx cxx}{ options } \
+exe{brep-load}: \
+{ cxx}{ load } \
+{hxx ixx cxx}{ load-options } \
../brep/lib{brep} $libs
cli.options += -I $src_root --include-with-brackets --include-prefix load \
--guard-prefix LOAD
-{hxx ixx cxx}{options}: cli{options}
+{hxx ixx cxx}{load-options}: cli{load}
diff --git a/load/options.cli b/load/load.cli
index df91606..751d1bd 100644
--- a/load/options.cli
+++ b/load/load.cli
@@ -1,4 +1,4 @@
-// file : load/options.cli
+// file : load/load.cli
// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
@@ -7,7 +7,7 @@ include <cstdint>; // uint16_t
"\section=1"
"\name=brep-load"
-"\summary=load repositories into database"
+"\summary=load build2 repositories into database"
{
"<options> <file>",
diff --git a/load/load.cxx b/load/load.cxx
index e2a318c..993de7e 100644
--- a/load/load.cxx
+++ b/load/load.cxx
@@ -28,7 +28,7 @@
#include <brep/package-odb>
#include <brep/database-lock>
-#include <load/options>
+#include <load/load-options>
using namespace std;
using namespace odb::core;