summaryrefslogtreecommitdiffstats
path: root/src/docsets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/docsets.cpp')
-rw-r--r--src/docsets.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/docsets.cpp b/src/docsets.cpp
index f18185d..d7d3d1c 100644
--- a/src/docsets.cpp
+++ b/src/docsets.cpp
@@ -47,6 +47,8 @@ void DocSets::initialize()
if (publisherId.isEmpty()) publisherId="PublisherId";
QCString publisherName = Config_getString("DOCSET_PUBLISHER_NAME");
if (publisherName.isEmpty()) publisherName="PublisherName";
+ QCString projectNumber = Config_getString("PROJECT_NUMBER");
+ if (projectNumber.isEmpty()) projectNumber="ProjectNumber";
// -- write Makefile
{
@@ -115,7 +117,9 @@ void DocSets::initialize()
" <key>CFBundleName</key>\n"
" <string>" << projectName << "</string>\n"
" <key>CFBundleIdentifier</key>\n"
- " <string>" << bundleId << ".docset</string>\n"
+ " <string>" << bundleId << "</string>\n"
+ " <key>CFBundleVersion</key>\n"
+ " <string>" << projectNumber << "</string>\n"
" <key>DocSetFeedName</key>\n"
" <string>" << feedName << "</string>\n"
" <key>DocSetPublisherIdentifier</key>\n"