added publish target to makefile (requires Makefile.local); minor variable tuning