version placeholder and makefile updates

This commit is contained in:
Levi Neely 2024-08-15 10:44:24 +02:00
parent 717300458d
commit 2b3da5ffe1
2 changed files with 9 additions and 1 deletions

View File

@ -11,4 +11,10 @@ clean:
rm -rf lib/mbedtls-2.1.14/build
rm -rf ./cmd/pcloudcc/build
install:
install -m 755 cmd/pcloudcc/build/pcloudcc /usr/bin/pcloudcc
install -m 755 cmd/pcloudcc/build/libpcloudcc_lib.so /usr/lib/libpcloudcc_lib.so
uninstall:
rm /usr/bin/pcloudcc
rm /usr/lib/pcloudcc_lib.so

View File

@ -38,7 +38,9 @@
namespace po = boost::program_options;
namespace ct = control_tools;
namespace cc = console_client;
static std::string version = "2.0.1";
// TODO: a proper version string might be useful for debugging
static std::string version = "git";
int main(int argc, char **argv) {
std::cout << "pCloud console client v." << version << std::endl;