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

.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 % /`
