install: Fix prefix, add sysconfdir, generate Makefile for install

For installing the package we generate a Makefile that honors
the DESTDIR variable and can now build proper packages.
debian: Create a minimal debian package