Permalink
Browse files

[docfixer] Use ArchiveName constant to differentiate between MM and MT

  • Loading branch information...
1 parent 15ac1de commit f847a74a0d514657d958f5bd5deff6689de70675 @garuma garuma committed Dec 12, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 tools/docfixer/docfixer.cs
  2. +1 −0 tools/docfixer/docfixer.mm.cs
  3. +1 −0 tools/docfixer/docfixer.mt.cs
@@ -79,7 +79,7 @@ public static int Main2 (string[] args)
if (useRawDoc)
mdocArchive = new MDocDirectoryArchive (Path.Combine (monodocPath, "en"));
else
- mdocArchive = MDocZipArchive.ExtractAndLoad (Path.Combine (monodocPath, "MonoTouch-lib.zip"));
+ mdocArchive = MDocZipArchive.ExtractAndLoad (Path.Combine (monodocPath, ArchiveName));
mergerOptions.MonodocArchive = mdocArchive;
var merger = new AppleDocMerger (mergerOptions);
merger.MergeDocumentation ();
@@ -8,6 +8,7 @@
public partial class DocGenerator {
static Assembly assembly = typeof (MonoMac.Foundation.NSObject).Assembly;
const string BaseNamespace = "MonoMac";
+ const string ArchiveName = "monomac-lib.zip";
static string GetMostRecentDocBase ()
{
@@ -30,6 +30,7 @@
public partial class DocGenerator
{
const string BaseNamespace = "MonoTouch";
+ const string ArchiveName = "MonoTouch-lib.zip";
static string GetMostRecentDocBase ()
{

0 comments on commit f847a74

Please sign in to comment.