Improve publishing and correct install-data macro