What goals can be set that people find interesting? What skills can people learn before the project is over? What sources of pride can be cultivated and directed at the remaining work? There are always ways to make the boring interesting, and the dull fun. It just requires someone who has authority to choose to use that authority to motivate and inspire.