The title pretty much says it all: how to exclude shipping from discount total?

I've been searching the forum, but there's no mention of this...