summaryrefslogtreecommitdiffstats
path: root/bin/syncqt
diff options
context:
space:
mode:
Diffstat (limited to 'bin/syncqt')
-rwxr-xr-xbin/syncqt8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 3ac70a4..1fb5304 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -93,7 +93,7 @@ sub showUsage
print " -windows Force platform to Windows (default: " . ($force_win ? "yes" : "no") . ")\n";
print " -showonly Show action but not perform (default: " . ($showonly ? "yes" : "no") . ")\n";
print " -outdir <PATH> Specify output directory for sync (default: $out_basedir)\n";
- print " -separate-module <NAME>:<HEADERDIR> Create headers for <NAME> with original headers in <HEADERDIR> \n";
+ print " -separate-module <NAME>:<PROFILEDIR>:<HEADERDIR> Create headers for <NAME> with original headers in <HEADERDIR> relative to <PROFILEDIR> \n";
print " -help This help\n";
exit 0;
}
@@ -646,10 +646,10 @@ while ( @ARGV ) {
die "No such module: $val" unless(defined $modules{$val});
push @modules_to_sync, $val;
} elsif ("$var" eq "separate-module") {
- my ($module, $srcdir) = split(/:/, $val);
- $modules{$module} = $srcdir;
+ my ($module, $prodir, $headerdir) = split(/:/, $val);
+ $modules{$module} = $prodir;
push @modules_to_sync, $module;
- delete $moduleheaders{$module} if ($moduleheaders{$module});
+ $moduleheaders{$module} = $headerdir;
$create_uic_class_map = 0;
$create_private_headers = 0;
} elsif ("$var" eq "output") {