Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Commit

Permalink
added a codename
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jun 14, 2016
1 parent a8ce874 commit c2b0596
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -31,6 +31,7 @@ endif()
set (VERSION_MAJOR 0)
set (VERSION_MINOR 4)

set (CODENAME "Tartiflette - 2nd fournée")
set (VERSION "${VERSION_MAJOR}.${VERSION_MINOR}-${VERSION_REL}")

set (CMAKE_INSTALL_PREFIX "/opt/${PROGNAME}")
Expand Down
1 change: 1 addition & 0 deletions config.h.in
Expand Up @@ -63,6 +63,7 @@
#define PROGNAME "@PROGNAME@"
#define AUTHOR "@AUTHOR@"
#define LICENSE "@LICENSE@"
#define CODENAME "@CODENAME@"

#define VERSION_MAJOR @VERSION_MAJOR@
#define VERSION_MINOR @VERSION_MINOR@
Expand Down
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -41,7 +41,7 @@ extern int daemon(int, int);
*/
static void version(bool end)
{
printf("%s v%s\n", PROGNAME, VERSION);
printf("%s v%s\nCodename: %s\n", PROGNAME, VERSION, CODENAME);
if (end) {
proxenet_free_config();
exit(EXIT_SUCCESS);
Expand Down

0 comments on commit c2b0596

Please sign in to comment.