aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-04-21 14:18:12 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-04-21 14:18:12 +0000
commitd540e525050a48311bf3308878940766797989a8 (patch)
tree7ee66251e17b846848a526f910439f90135a1c69 /LUFA/StudioIntegration/makefile
parentdd723813d922b5fd27946787cf42b9881ab2eb46 (diff)
downloadlufa-d540e525050a48311bf3308878940766797989a8.tar.gz
lufa-d540e525050a48311bf3308878940766797989a8.tar.bz2
lufa-d540e525050a48311bf3308878940766797989a8.zip
Add partially complete Doxygen-to-Docbook transform.
Diffstat (limited to 'LUFA/StudioIntegration/makefile')
-rw-r--r--LUFA/StudioIntegration/makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile
index 5b50a2221..daaa2dccd 100644
--- a/LUFA/StudioIntegration/makefile
+++ b/LUFA/StudioIntegration/makefile
@@ -40,6 +40,10 @@ VSIX_ASSETS := $(LUFA_ROOT)/DoxygenPages/Images/LUFA_thumb.png \
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 "2" \
+ --stringparam chunk.first.sections "1"
all: generate_xml check_filenames generate_vsix
@@ -79,11 +83,11 @@ $(MSHELP_OUTPUT_XML): $(DOXYGEN_COMBINED_XML)
@echo Converting Doxygen XML to Docbook...
@-mkdir mshelp 2> /dev/null
@xsltproc HV1/lufa_docbook_transform.xsl $(DOXYGEN_COMBINED_XML) > mshelp/lufa_docbook.xml
- @cd mshelp && xsltproc ../Docbook/mshelp/docbook.xsl lufa_docbook.xml
+ @cd mshelp && xsltproc $(MSHELP_GEN_PARAMS) ../Docbook/mshelp/docbook.xsl lufa_docbook.xml
@echo Copying help assets...
@-mkdir mshelp/images 2> /dev/null
- @cp -r $(LUFA_ROOT)/DoxygenPages/Images/* mshelp/images
+ @cp `find $(LUFA_ROOT)/DoxygenPages/Images -type f` mshelp/images
@echo Archiving help content...
@cd mshelp && zip ../$(MSHELP_OUTPUT_XML) -q -0 -r *.html images