add publish option to Makefile