TARGETS := all install install-ssl-daemon install-all install-strip uninstall uninstall-ssl-daemon uninstall-all conf gen reconfigure restatus \
	proto man clean cleantests distclean test check check29 check30 installcheck splint \
	doxygen doxygen-upload finddead rrsync

.PHONY: $(TARGETS) auto-prep

$(TARGETS): auto-prep
	make -C build $@

auto-prep:
	@if test x`packaging/prep-auto-dir` = x; then echo "auto-build-save is not setup"; exit 1; fi
	@echo 'Build branch: '`readlink build/.branch | tr % /`
