From 7efc5259cb0861d3c2914f752000ccb402357e90 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Mon, 21 Dec 2020 10:45:46 +0100 Subject: [PATCH] Rename legacy-gui to nsm-legacy-gui. This is only internal, the build and install name was already nsm-legacy-gui. This fixes the manpage which was wrong before --- meson.build | 2 +- src/{legacy-gui.cpp => nsm-legacy-gui.cpp} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/{legacy-gui.cpp => nsm-legacy-gui.cpp} (99%) diff --git a/meson.build b/meson.build index 0aab0e6..7f14834 100644 --- a/meson.build +++ b/meson.build @@ -111,7 +111,7 @@ endif if get_option('nsm-legacy-gui') executable('nsm-legacy-gui', - sources: ['src/legacy-gui.cpp', 'src/debug.cpp', 'src/Endpoint.cpp', 'src/Thread.cpp', 'src/FL/Fl_Scalepack.C'], + sources: ['src/nsm-legacy-gui.cpp', 'src/debug.cpp', 'src/Endpoint.cpp', 'src/Thread.cpp', 'src/FL/Fl_Scalepack.C'], dependencies: [fltkimagesdep, fltkdep, liblodep, threaddep], install: true, ) diff --git a/src/legacy-gui.cpp b/src/nsm-legacy-gui.cpp similarity index 99% rename from src/legacy-gui.cpp rename to src/nsm-legacy-gui.cpp index db1a3c4..ee6c095 100644 --- a/src/legacy-gui.cpp +++ b/src/nsm-legacy-gui.cpp @@ -1349,10 +1349,10 @@ main (int argc, char **argv ) case 'h': //Print usage message according to POSIX.1-2017 const char *usage = - "legacy-gui - FLTK GUI for the 'New Session Manager'\n\n" + "nsm-legacy-gui - FLTK GUI for the 'New Session Manager'\n\n" "Usage:\n" - " legacy-gui\n" - " legacy-gui --help\n" + " nsm-legacy-gui\n" + " nsm-legacy-gui --help\n" "\n" "Options:\n" " --help Show this screen\n"