This commit is contained in:
thepra
2017-04-02 22:31:53 +02:00
parent f4c8c653a5
commit 68d4127a19
2 changed files with 27 additions and 12 deletions

View File

@ -163,17 +163,26 @@ void GeneralBuilder::BuildHTMLFiles(Sites site, list<Document> rootFiles, list<D
}
switch (site)
{
case Utilities::DEV:
case DEV:
{
dir.append("thepradev");
path contentDir{dir.append("content")};
path postsContentDir{dir.append("postsContent")};
path devDir{dir};
devDir.append("thepradev");
path contentDir{devDir.append("content")};
path postsContentDir{devDir.append("postsContent")};
path outputDir{dir}; outputDir.append("output_thepradev");
path posts{outputDir}; posts.append("posts");
}
break;
case Utilities::ART:
case ART:
{
dir.append("thepraart\\");
path artDir{dir};
artDir.append("thepraart");
path contentDir{artDir.append("content")};
path postsContentDir{artDir.append("postsContent")};
path outputDir{dir}; outputDir.append("output_thepraart");
path posts{outputDir}; posts.append("posts");
}
break;