automatic packaging makefile