summaryrefslogtreecommitdiffstats
path: root/src/instdox.cpp
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:42:00 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:42:00 (GMT)
commite37828267bfc6c76a5b01208dcdb676a3aa580f9 (patch)
treee1e96dcb9bbad928271e0546023ea0a9841641b6 /src/instdox.cpp
parent74cc4d70240d09e10c9da94c0537670fc287a85e (diff)
downloadDoxygen-e37828267bfc6c76a5b01208dcdb676a3aa580f9.zip
Doxygen-e37828267bfc6c76a5b01208dcdb676a3aa580f9.tar.gz
Doxygen-e37828267bfc6c76a5b01208dcdb676a3aa580f9.tar.bz2
mods for doxygen-0.49-991205
Diffstat (limited to 'src/instdox.cpp')
-rw-r--r--src/instdox.cpp14
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 << ", ";
}