diff options
-rw-r--r-- | build/export.build | 4 | ||||
-rw-r--r-- | build/root.build | 2 | ||||
-rw-r--r-- | buildfile | 2 | ||||
-rw-r--r-- | libprint/buildfile (renamed from print/buildfile) | 4 | ||||
-rw-r--r-- | libprint/export.hxx (renamed from print/export) | 2 | ||||
-rw-r--r-- | libprint/print.cxx (renamed from print/print.cxx) | 4 | ||||
-rw-r--r-- | libprint/print.hxx (renamed from print/print) | 4 |
7 files changed, 11 insertions, 11 deletions
diff --git a/build/export.build b/build/export.build index dd96278..4871c4a 100644 --- a/build/export.build +++ b/build/export.build @@ -1,6 +1,6 @@ $out_root/: { - include print/ + include libprint/ } -export $out_root/print/lib{print} +export $out_root/libprint/lib{print} diff --git a/build/root.build b/build/root.build index 4f70114..8ceadfa 100644 --- a/build/root.build +++ b/build/root.build @@ -2,5 +2,5 @@ cxx.std = 11 using cxx -hxx{*}: extension = +hxx{*}: extension = hxx cxx{*}: extension = cxx @@ -1,4 +1,4 @@ -./: print/ doc{version} file{manifest} +./: libprint/ doc{version} file{manifest} doc{version}: file{manifest} # Generated by the version module. doc{version}: dist = true diff --git a/print/buildfile b/libprint/buildfile index 7eed5ed..f7d8a74 100644 --- a/print/buildfile +++ b/libprint/buildfile @@ -16,6 +16,6 @@ lib{print}: cxx.export.poptions = "-I$out_root" "-I$src_root" liba{print}: cxx.export.poptions += -DLIBPRINT_STATIC libs{print}: cxx.export.poptions += -DLIBPRINT_SHARED -# Install into the print/ subdirectory of, say, /usr/include/. +# Install into the libprint/ subdirectory of, say, /usr/include/. # -install.include = $install.include/print/ +install.include = $install.include/libprint/ diff --git a/print/export b/libprint/export.hxx index c96ae14..dedfa65 100644 --- a/print/export +++ b/libprint/export.hxx @@ -1,4 +1,4 @@ -// file: print/export -*- C++ -*- +// file: libprint/export.hxx -*- C++ -*- #pragma once diff --git a/print/print.cxx b/libprint/print.cxx index 99a466d..32c827d 100644 --- a/print/print.cxx +++ b/libprint/print.cxx @@ -1,6 +1,6 @@ -// file: print/print.cxx -*- C++ -*- +// file: libprint/libprint.cxx -*- C++ -*- -#include <print/print> +#include <libprint/print.hxx> #include <iostream> diff --git a/print/print b/libprint/print.hxx index dc6a1a0..63cb541 100644 --- a/print/print +++ b/libprint/print.hxx @@ -1,10 +1,10 @@ -// file: print/print -*- C++ -*- +// file: libprint/print.hxx -*- C++ -*- #pragma once #include <string> -#include <print/export> +#include <libprint/export.hxx> LIBPRINT_EXPORT void print (const std::string& hello); |