prepare makefile for make publish