Tweak modgui, add initial PDF docs

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-02-10 18:17:04 +00:00
parent 68c143da60
commit b5ac998e4a
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
7 changed files with 60 additions and 5 deletions

View file

@ -7,6 +7,7 @@
mod:label "CardinalFX" ;
modgui:gui [
modgui:resourcesDirectory <modgui> ;
modgui:documentation <modgui/documentation.pdf>;
modgui:iconTemplate <modgui/icon.html> ;
modgui:javascript <modgui/javascript.js> ;
modgui:stylesheet <modgui/stylesheet.css> ;

Binary file not shown.

View file

@ -265,6 +265,7 @@ VST3_RESOURCES = $(CORE_RESOURCES:%=$(TARGET_DIR)/$(NAME).vst3/Contents/Resourc
# Install modgui resources if MOD build
ifeq ($(MOD_BUILD),true)
LV2_RESOURCES += $(TARGET_DIR)/$(NAME).lv2/modgui.ttl
LV2_RESOURCES += $(TARGET_DIR)/$(NAME).lv2/modgui/documentation.pdf
LV2_RESOURCES += $(TARGET_DIR)/$(NAME).lv2/modgui
endif
@ -304,6 +305,9 @@ $(TARGET_DIR)/$(NAME).lv2/resources/%.svg: ../Rack/res/%.svg ../../deps/svg2stub
$(TARGET_DIR)/$(NAME).lv2/mod%: ../MOD/$(NAME).lv2/mod%
-@mkdir -p "$(shell dirname $@)"
$(SILENT)ln -sf $(abspath $<) $@
$(TARGET_DIR)/$(NAME).lv2/modgui/documentation.pdf: ../../doc/MODDEVICES.md $(TARGET_DIR)/$(NAME).lv2/modgui
pandoc $< -o $@
endif
$(TARGET_DIR)/$(NAME).vst/resources/%: ../Rack/res/%