-VSIX_ASSETS          := $(LUFA_ROOT)/DoxygenPages/Images/LUFA_thumb.png \
-                        $(LUFA_ROOT)/DoxygenPages/Images/LUFA.png       \
-                        $(LUFA_ROOT)/License.txt                        \
-                        VSIX/"[Content_Types].xml"                      \
-                        VSIX/ASFExplorer.png                            \
-                        VSIX/ASFWizard.png                              \
-                        VSIX/NewExampleWizard.png                       \
-                        VSIX/GettingStarted.htm                         \
-                        Blob/Atmel.Studio.Services.Interfaces.dll       \
-                        Blob/LUFA.dll                                   \
-                        Blob/LUFA.pkgdef
-
-MSHELP_GEN_PARAMS   := --stringparam generate.toc "book toc"            \
-                       --stringparam chunk.quietly "1"                  \
-                       --stringparam chunk.section.depth "3"            \
-                       --stringparam chunk.first.sections "1"           \
-                       --stringparam chapter.autolabel "0"
-
-all: generate_xml check_filenames generate_vsix
+VSIX_ASSETS          := $(LUFA_ROOT)/DoxygenPages/Images/LUFA_thumb.png     \
+                        $(LUFA_ROOT)/DoxygenPages/Images/LUFA.png           \
+                        $(LUFA_ROOT)/License.txt                            \
+                        VSIX/"[Content_Types].xml"                          \
+                        VSIX/LUFA.dll                                       \
+                        VSIX/LUFA.pkgdef
+VSIX_GEN_PARAMS     := --stringparam extension-version "$(EXT_VERSION_NUM)" \
+                       --stringparam lufa-version "$(LUFA_VERSION_NUM)"     \
+                       --stringparam help-package-filename "$(notdir $(MSHELP_OUTPUT_XML))"
+MSHELP_GEN_PARAMS   := --stringparam generate.toc "book toc"                \
+                       --stringparam chunk.quietly "1"                      \
+                       --stringparam chunk.section.depth "3"                \
+                       --stringparam chunk.first.sections "1"               \
+                       --stringparam chapter.autolabel "0"                  \
+                       --stringparam root.filename "LUFA"                   \
+                       --stringparam html.stylesheet "lufa_studio_help_styling.css"
+
+all: clear_project_dirs generate_xml check_filenames generate_vsix
+
+clear_project_dirs:
+       @make -s -C $(LUFA_ROOT)/.. clean