aboutsummaryrefslogtreecommitdiff
path: root/build2/install
diff options
context:
space:
mode:
Diffstat (limited to 'build2/install')
-rw-r--r--build2/install/init.cxx20
-rw-r--r--build2/install/init.hxx (renamed from build2/install/init)14
-rw-r--r--build2/install/operation22
-rw-r--r--build2/install/operation.cxx2
-rw-r--r--build2/install/operation.hxx22
-rw-r--r--build2/install/rule.cxx14
-rw-r--r--build2/install/rule.hxx (renamed from build2/install/rule)18
-rw-r--r--build2/install/utility.hxx (renamed from build2/install/utility)14
8 files changed, 63 insertions, 63 deletions
diff --git a/build2/install/init.cxx b/build2/install/init.cxx
index 0966d82..6a5114d 100644
--- a/build2/install/init.cxx
+++ b/build2/install/init.cxx
@@ -2,19 +2,19 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <build2/install/init>
+#include <build2/install/init.hxx>
-#include <build2/scope>
-#include <build2/target>
-#include <build2/rule>
-#include <build2/operation>
-#include <build2/diagnostics>
+#include <build2/scope.hxx>
+#include <build2/target.hxx>
+#include <build2/rule.hxx>
+#include <build2/operation.hxx>
+#include <build2/diagnostics.hxx>
-#include <build2/config/utility>
+#include <build2/config/utility.hxx>
-#include <build2/install/rule>
-#include <build2/install/utility>
-#include <build2/install/operation>
+#include <build2/install/rule.hxx>
+#include <build2/install/utility.hxx>
+#include <build2/install/operation.hxx>
using namespace std;
using namespace butl;
diff --git a/build2/install/init b/build2/install/init.hxx
index 9a16111..98b4205 100644
--- a/build2/install/init
+++ b/build2/install/init.hxx
@@ -1,14 +1,14 @@
-// file : build2/install/init -*- C++ -*-
+// file : build2/install/init.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef BUILD2_INSTALL_INIT
-#define BUILD2_INSTALL_INIT
+#ifndef BUILD2_INSTALL_INIT_HXX
+#define BUILD2_INSTALL_INIT_HXX
-#include <build2/types>
-#include <build2/utility>
+#include <build2/types.hxx>
+#include <build2/utility.hxx>
-#include <build2/module>
+#include <build2/module.hxx>
namespace build2
{
@@ -28,4 +28,4 @@ namespace build2
}
}
-#endif // BUILD2_INSTALL_INIT
+#endif // BUILD2_INSTALL_INIT_HXX
diff --git a/build2/install/operation b/build2/install/operation
deleted file mode 100644
index 02d406e..0000000
--- a/build2/install/operation
+++ /dev/null
@@ -1,22 +0,0 @@
-// file : build2/install/operation -*- C++ -*-
-// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-#ifndef BUILD2_INSTALL_OPERATION
-#define BUILD2_INSTALL_OPERATION
-
-#include <build2/types>
-#include <build2/utility>
-
-#include <build2/operation>
-
-namespace build2
-{
- namespace install
- {
- extern const operation_info install;
- extern const operation_info uninstall;
- }
-}
-
-#endif // BUILD2_INSTALL_OPERATION
diff --git a/build2/install/operation.cxx b/build2/install/operation.cxx
index 44d257f..5405c63 100644
--- a/build2/install/operation.cxx
+++ b/build2/install/operation.cxx
@@ -2,7 +2,7 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <build2/install/operation>
+#include <build2/install/operation.hxx>
using namespace std;
using namespace butl;
diff --git a/build2/install/operation.hxx b/build2/install/operation.hxx
new file mode 100644
index 0000000..1529621
--- /dev/null
+++ b/build2/install/operation.hxx
@@ -0,0 +1,22 @@
+// file : build2/install/operation.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BUILD2_INSTALL_OPERATION_HXX
+#define BUILD2_INSTALL_OPERATION_HXX
+
+#include <build2/types.hxx>
+#include <build2/utility.hxx>
+
+#include <build2/operation.hxx>
+
+namespace build2
+{
+ namespace install
+ {
+ extern const operation_info install;
+ extern const operation_info uninstall;
+ }
+}
+
+#endif // BUILD2_INSTALL_OPERATION_HXX
diff --git a/build2/install/rule.cxx b/build2/install/rule.cxx
index 9f668f9..3a56480 100644
--- a/build2/install/rule.cxx
+++ b/build2/install/rule.cxx
@@ -2,15 +2,15 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <build2/install/rule>
+#include <build2/install/rule.hxx>
-#include <butl/filesystem> // dir_exists(), file_exists()
+#include <libbutl/filesystem.hxx> // dir_exists(), file_exists()
-#include <build2/scope>
-#include <build2/target>
-#include <build2/algorithm>
-#include <build2/filesystem>
-#include <build2/diagnostics>
+#include <build2/scope.hxx>
+#include <build2/target.hxx>
+#include <build2/algorithm.hxx>
+#include <build2/filesystem.hxx>
+#include <build2/diagnostics.hxx>
using namespace std;
using namespace butl;
diff --git a/build2/install/rule b/build2/install/rule.hxx
index c923db9..76259c9 100644
--- a/build2/install/rule
+++ b/build2/install/rule.hxx
@@ -1,16 +1,16 @@
-// file : build2/install/rule -*- C++ -*-
+// file : build2/install/rule.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef BUILD2_INSTALL_RULE
-#define BUILD2_INSTALL_RULE
+#ifndef BUILD2_INSTALL_RULE_HXX
+#define BUILD2_INSTALL_RULE_HXX
-#include <build2/types>
-#include <build2/utility>
+#include <build2/types.hxx>
+#include <build2/utility.hxx>
-#include <build2/rule>
-#include <build2/target>
-#include <build2/operation>
+#include <build2/rule.hxx>
+#include <build2/target.hxx>
+#include <build2/operation.hxx>
namespace build2
{
@@ -98,4 +98,4 @@ namespace build2
}
}
-#endif // BUILD2_INSTALL_RULE
+#endif // BUILD2_INSTALL_RULE_HXX
diff --git a/build2/install/utility b/build2/install/utility.hxx
index 239447e..dfd1915 100644
--- a/build2/install/utility
+++ b/build2/install/utility.hxx
@@ -1,14 +1,14 @@
-// file : build2/install/utility -*- C++ -*-
+// file : build2/install/utility.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef BUILD2_INSTALL_UTILITY
-#define BUILD2_INSTALL_UTILITY
+#ifndef BUILD2_INSTALL_UTILITY_HXX
+#define BUILD2_INSTALL_UTILITY_HXX
-#include <build2/types>
-#include <build2/utility>
+#include <build2/types.hxx>
+#include <build2/utility.hxx>
-#include <build2/scope>
+#include <build2/scope.hxx>
namespace build2
{
@@ -54,4 +54,4 @@ namespace build2
}
}
-#endif // BUILD2_INSTALL_UTILITY
+#endif // BUILD2_INSTALL_UTILITY_HXX