using make to prepublish