summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-03-20 02:45:00 +0100
committerSlávek Banko <[email protected]>2020-03-21 17:50:47 +0100
commitc6295bafa7efd8e213641e4923627c0d6776830b (patch)
treef5cc273941e0738da3d5e9f2a404f188d99728e7 /qmake/generators
parent7ffca6e7f74b4f3ffc6871793071d61174185057 (diff)
downloadtqt3-c6295bafa7efd8e213641e4923627c0d6776830b.tar.gz
tqt3-c6295bafa7efd8e213641e4923627c0d6776830b.zip
Remove dates from generated files.
This is related to the effort for reproducible builds. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 9d5d503f747ce54a6c048a415dae1b33d6b9b047)
Diffstat (limited to 'qmake/generators')
-rw-r--r--qmake/generators/makefile.cpp3
-rw-r--r--qmake/generators/projectgenerator.cpp2
-rw-r--r--qmake/generators/unix/unixmake2.cpp3
3 files changed, 3 insertions, 5 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index fae1dc6c1..a54e810cb 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -2142,10 +2142,9 @@ TQString MakefileGenerator::build_args()
bool
MakefileGenerator::writeHeader(TQTextStream &t)
{
- time_t foo = time(NULL);
t << "#############################################################################" << endl;
t << "# Makefile for building: " << var("TARGET") << endl;
- t << "# Generated by qmake (" << qmake_version() << ") (TQt " << TQT_VERSION_STR << ") on: " << ctime(&foo);
+ t << "# Generated by qmake (" << qmake_version() << ") (TQt " << TQT_VERSION_STR << ")" << endl;
t << "# Project: " << fileFixify(project->projectFile()) << endl;
t << "# Template: " << var("TEMPLATE") << endl;
t << "# Command: " << build_args() << endl;
diff --git a/qmake/generators/projectgenerator.cpp b/qmake/generators/projectgenerator.cpp
index 18b976728..0bc44a599 100644
--- a/qmake/generators/projectgenerator.cpp
+++ b/qmake/generators/projectgenerator.cpp
@@ -345,7 +345,7 @@ bool
ProjectGenerator::writeMakefile(TQTextStream &t)
{
t << "######################################################################" << endl;
- t << "# Automatically generated by qmake (" << qmake_version() << ") " << TQDateTime::currentDateTime().toString() << endl;
+ t << "# Automatically generated by qmake (" << qmake_version() << ") " << endl;
t << "######################################################################" << endl << endl;
TQStringList::Iterator it;
for(it = Option::before_user_vars.begin(); it != Option::before_user_vars.end(); ++it)
diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp
index cf573b417..204c79036 100644
--- a/qmake/generators/unix/unixmake2.cpp
+++ b/qmake/generators/unix/unixmake2.cpp
@@ -1452,9 +1452,8 @@ UnixMakefileGenerator::writeLibtoolFile()
TQTextStream t(&ft);
t << "# " << lname << " - a libtool library file\n";
- time_t now = time(NULL);
t << "# Generated by qmake/libtool (" << qmake_version() << ") (TQt "
- << TQT_VERSION_STR << ") on: " << ctime(&now) << "\n";
+ << TQT_VERSION_STR << ")\n";
t << "# The name that we can dlopen(3).\n"
<< "dlname='" << var(project->isActiveConfig("plugin") ? "TARGET" : "TARGET_x")