#!/bin/bash for i in */ do cd $i [ -f MAKEFILE ] && make || lilypond *.ly done zip release.zip */