summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/syncqt b/bin/syncqt
index d6fef1d804..0c1fb098b2 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -880,6 +880,7 @@ foreach my $lib (@modules_to_sync) {
}
}
+ push @{$inject_headers{$dir}}, lc($lib)."version.h";
$classnames{lc($lib)."version.h"} = $lib."Version";
#remove the old files
@@ -934,8 +935,8 @@ foreach my $lib (@modules_to_sync) {
my $modulepri = $modulepris{$lib};
if (-e $modulepri) {
my $modulepriname = basename($modulepri);
- # FIXME: this creates a file in the source location for shadow-builds
my $moduleversionheader = "$modules{$lib}/" . lc($lib) . "version.h";
+ $moduleversionheader =~ s,^$quoted_basedir,$out_basedir,;
my $modulehexstring = sprintf("0x%02X%02X%02X", $module_major_version, $module_minor_version, $module_patch_version);
open MODULE_VERSION_HEADER_FILE, ">$moduleversionheader" or die "Can't open $moduleversionheader for writing";
print MODULE_VERSION_HEADER_FILE "/* This file was generated by syncqt with the info from sync.profile. */\n";