diff options
Diffstat (limited to 'src/instdox.cpp')
-rw-r--r-- | src/instdox.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/instdox.cpp b/src/instdox.cpp index f4e6de6..5194fa2 100644 --- a/src/instdox.cpp +++ b/src/instdox.cpp @@ -39,8 +39,18 @@ void writeInstallScript() char *s=Config::tagFileList.first(); while (s) { - QFileInfo fi(s); - t << "\"" << fi.fileName() << "\", \"\""; + QCString tagLine=s; + QCString fileName; + int eqPos = tagLine.find('='); + if (eqPos!=-1) // strip destination part + { + fileName = tagLine.left(eqPos).stripWhiteSpace(); + } + else + { + fileName = tagLine; + } + t << "\"" << fileName << "\", \"\""; s=Config::tagFileList.next(); if (s) t << ", "; } |