summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@nokia.com>2010-11-15 16:43:22 +0100
committeraxis <qt-info@nokia.com>2011-04-27 12:05:45 +0200
commit703842d450f915f5b4ef670356568a1764b7bdad (patch)
tree26d5c0130f3ffef52b9a379e1364b93cc391ca9a /bin
parenta6fa179a230a0bc921c97c3adee038f7ac8f1b03 (diff)
Expose private support for separate module in syncqt.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 451521c97b..b8671063c4 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -82,6 +82,7 @@ sub showUsage
print " -outdir <PATH> Specify output directory for sync (default: $out_basedir)\n";
print " -quiet Only report problems, not activity (default: " . ($quiet ? "yes" : "no") . ")\n";
print " -separate-module <NAME>:<PROFILEDIR>:<HEADERDIR> Create headers for <NAME> with original headers in <HEADERDIR> relative to <PROFILEDIR> \n";
+ print " -private Force copy private headers (default: " . ($create_private_headers ? "yes" : "no") . ")\n";
print " -help This help\n";
exit 0;
}
@@ -589,6 +590,9 @@ while ( @ARGV ) {
} elsif($arg eq "-quiet") {
$var = "quiet";
$val = "yes";
+ } elsif($arg eq "-private") {
+ $var = "create_private_headers";
+ $val = "yes";
} elsif($arg eq "-base-dir") {
# skip, it's been dealt with at the top of the file
shift @ARGV;
@@ -651,7 +655,6 @@ while ( @ARGV ) {
push @modules_to_sync, $module;
$moduleheaders{$module} = $headerdir;
$create_uic_class_map = 0;
- $create_private_headers = 0;
} elsif ($var eq "output") {
my $outdir = $val;
if(checkRelative($outdir)) {