summaryrefslogtreecommitdiffstats
path: root/src/instdox.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:42:00 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:42:00 (GMT)
commitdf5aeefd51095ad5b1f5fe1bf563a7302f93feeb (patch)
treee1e96dcb9bbad928271e0546023ea0a9841641b6 /src/instdox.cpp
parentdc2968f7b44b1a219a0695ba80c63cd0d7da0ef1 (diff)
downloadDoxygen-df5aeefd51095ad5b1f5fe1bf563a7302f93feeb.zip
Doxygen-df5aeefd51095ad5b1f5fe1bf563a7302f93feeb.tar.gz
Doxygen-df5aeefd51095ad5b1f5fe1bf563a7302f93feeb.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 << ", ";
}