mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Prevent having to relink most of pandatool when version info changes
This commit is contained in:
parent
1e870b3c1c
commit
369305c529
@ -27,7 +27,7 @@
|
|||||||
#include "configVariableBool.h"
|
#include "configVariableBool.h"
|
||||||
#include "panda_getopt_long.h"
|
#include "panda_getopt_long.h"
|
||||||
#include "preprocess_argv.h"
|
#include "preprocess_argv.h"
|
||||||
#include "pandaVersion.h"
|
#include "pandaSystem.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
@ -222,7 +222,8 @@ write_man_page(ostream &out) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
out << " 1 \"" << date_str << "\" \"" PANDA_VERSION_STR "\" Panda3D\n";
|
out << " 1 \"" << date_str << "\" \""
|
||||||
|
<< PandaSystem::get_version_string() << "\" Panda3D\n";
|
||||||
|
|
||||||
out << ".SH NAME\n";
|
out << ".SH NAME\n";
|
||||||
if (_brief.empty()) {
|
if (_brief.empty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user