I'm trying to use the matching files function macro but it doesn't seem to accept what I'm doing.
What I want to do is, based on the value of a variable, the _expression_ passed to the matching files is modified. I tried using an if else block that queues jobs but when testing with dry-run it fails with "submit file: endif without matching if" which makes sense but I don't know to avoid this issue.
EXTENSION = avi
SINGLE_VIDEO = True
Â Â queue VIDEO matching files matching files ($(PATH)/*/*.$(EXTENSION))
Â Â queue VIDEO matching files matching files ($(PATH)/*.$(EXTENSION))
Any idea on how to make this work?
ScientificÂComputing and Software Platform Champalimaud Research
Champalimaud Center for the Unknown
Av. BrasÃlia, Doca de PedrouÃos
1400-038 Lisbon, Portugal