aboutsummaryrefslogtreecommitdiff
path: root/migrate
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 /migrate
parent68d62d528df5bd17711ed18660fe943cb944e951 (diff)
Add support for man page generation/install/dist
Diffstat (limited to 'migrate')
-rw-r--r--migrate/.gitignore4
-rw-r--r--migrate/buildfile8
-rw-r--r--migrate/migrate.cli (renamed from migrate/options.cli)4
-rw-r--r--migrate/migrate.cxx2
4 files changed, 9 insertions, 9 deletions
diff --git a/migrate/.gitignore b/migrate/.gitignore
index 580958d..7323078 100644
--- a/migrate/.gitignore
+++ b/migrate/.gitignore
@@ -1,3 +1,3 @@
-options
-options.?xx
+*-options
+*-options.?xx
brep-migrate
diff --git a/migrate/buildfile b/migrate/buildfile
index c42de5a..cd0b9c8 100644
--- a/migrate/buildfile
+++ b/migrate/buildfile
@@ -7,12 +7,12 @@ import libs += libodb%lib{odb}
include ../brep/
-exe{brep-migrate}: \
-{ cxx}{ migrate } \
-{hxx ixx cxx}{ options } \
+exe{brep-migrate}: \
+{ cxx}{ migrate } \
+{hxx ixx cxx}{ migrate-options } \
../brep/lib{brep} $libs
cli.options += -I $src_root --include-with-brackets --include-prefix migrate \
--guard-prefix MIGRATE
-{hxx ixx cxx}{options}: cli{options}
+{hxx ixx cxx}{migrate-options}: cli{migrate}
diff --git a/migrate/options.cli b/migrate/migrate.cli
index e36155c..35d082f 100644
--- a/migrate/options.cli
+++ b/migrate/migrate.cli
@@ -1,4 +1,4 @@
-// file : migrate/options.cli
+// file : migrate/migrate.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-migrate"
-"\summary=create/drop/migrate brep database"
+"\summary=create/drop/migrate build2 repository database"
{
"<options>",
diff --git a/migrate/migrate.cxx b/migrate/migrate.cxx
index aa71b67..405770f 100644
--- a/migrate/migrate.cxx
+++ b/migrate/migrate.cxx
@@ -23,7 +23,7 @@
#include <brep/database-lock>
-#include <migrate/options>
+#include <migrate/migrate-options>
using namespace std;
using namespace odb::core;