@@ -1134,9 +1134,14 @@ clean:
11341134
11351135ifeq ($(NOPLUGINS ) ,true)
11361136PLUGIN_LIST = Cardinal Fundamental
1137+
1138+ RESOURCE_FILES = \
1139+ $(wildcard Cardinal/res/* .svg) \
1140+ $(wildcard Fundamental/res/* .svg) \
1141+ $(wildcard Fundamental/res/components/* .svg) \
1142+ Fundamental/presets
11371143else
11381144PLUGIN_LIST = $(subst /plugin.json,,$(wildcard * /plugin.json) )
1139- endif
11401145
11411146UNWANTED_FILES = HetrickCV/res/illustrator - deprecated/MyModule.svg
11421147UNWANTED_FILES += $(wildcard Meander/res/* )
@@ -1163,7 +1168,6 @@ RESOURCE_FILES += BaconPlugs/res/Keypunch029.json
11631168RESOURCE_FILES += BaconPlugs/res/midi/chopin
11641169RESOURCE_FILES += BaconPlugs/res/midi/debussy
11651170RESOURCE_FILES += BaconPlugs/res/midi/goldberg
1166- RESOURCE_FILES += Cardinal/res/Miku/Miku.png
11671171RESOURCE_FILES += cf/playeroscs
11681172RESOURCE_FILES += DrumKit/res/samples
11691173RESOURCE_FILES += MindMeldModular/res/ShapeMaster/CommunityPresets
@@ -1178,14 +1182,20 @@ RESOURCE_FILES += $(wildcard unless_modules/art/*.art)
11781182RESOURCE_FILES += $(wildcard unless_modules/art/svg/* /* .svg)
11791183RESOURCE_FILES += $(wildcard unless_modules/font/* .ttf)
11801184# RESOURCE_FILES += $(wildcard unless_modules/manual/*)
1185+ endif
1186+
1187+ RESOURCE_FILES += Cardinal/res/Miku/Miku.png
11811188
11821189# MOD builds only have LV2 FX variant for now
11831190ifeq ($(MOD_BUILD ) ,true)
1191+
11841192LV2_RESOURCES = $(PLUGIN_LIST:%=../bin/Cardinal.lv2/resources/PluginManifests/%.json )
11851193LV2_RESOURCES += $(PLUGIN_LIST:%=../bin/CardinalFX.lv2/resources/PluginManifests/%.json )
11861194LV2_RESOURCES += $(RESOURCE_FILES:%=../bin/Cardinal.lv2/resources/% )
11871195LV2_RESOURCES += $(RESOURCE_FILES:%=../bin/CardinalFX.lv2/resources/% )
1196+
11881197else
1198+
11891199LV2_RESOURCES = $(PLUGIN_LIST:%=../bin/Cardinal.lv2/resources/PluginManifests/%.json )
11901200LV2_RESOURCES += $(PLUGIN_LIST:%=../bin/CardinalFX.lv2/resources/PluginManifests/%.json )
11911201LV2_RESOURCES += $(PLUGIN_LIST:%=../bin/CardinalSynth.lv2/resources/PluginManifests/%.json )
@@ -1209,6 +1219,7 @@ VST3_RESOURCES += $(PLUGIN_LIST:%=../bin/CardinalSynth.vst3/Contents/Resources/P
12091219VST3_RESOURCES += $(RESOURCE_FILES:%=../bin/Cardinal.vst3/Contents/Resources/% )
12101220VST3_RESOURCES += $(RESOURCE_FILES:%=../bin/CardinalFX.vst3/Contents/Resources/% )
12111221VST3_RESOURCES += $(RESOURCE_FILES:%=../bin/CardinalSynth.vst3/Contents/Resources/% )
1222+
12121223endif
12131224
12141225resources : $(LV2_RESOURCES ) $(VST2_RESOURCES ) $(VST3_RESOURCES )
0 commit comments