A fun read on What motivates programmers? [broken link has been removed]
Programmers see meetings as wastes of time. Most communication between programmers is done via email or by a quick wander to another desk to clarify something that is beyond the scope of an email. Therefore any time within a meeting room is ‘unhappy time’ and unhappiness increases exponentially with the length of the meeting. So at all costs if you do need to drag your development team into a meeting either include some form of Lego to play with (I am serious) or keep them very short.
The tips in the post are worth reading. Yes, real world situation are always more complex but there is a great deal of truth in the post. Also, I will repeat my statement for all managers for all employees: your job is to eliminate de-motivation not to motivate.
If you really want to manage programmers well, read these blogs and take action to prevent yourself from becoming a pointy haired boss: Signal vs. Noise – Joel on Software – Paul Graham – Coding Horror – Scripting News – xkcd