respect DESTDIR
make this build with --as-needed, see Debian BTS #647316
don't free memory from a free pointer, by David Bremner
Merge remote-tracking branch 'xorg62/master'

Conflicts:
	Makefile
	ttyclock.c
Revert "don't free memory from a free pointer, by David Bremner"

This reverts commit cabd4690e7e2f1320fecfaf71518c3c0c81dc6e8, which
was better implemented in the cleanup function.

Conflicts:
	ttyclock.c