separated templates from lns in install, added makefile-local template and hooked it into the main makefile