From 8adbd4d31eac37449d40a6a3ee207d4a4de3e188 Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Tue, 14 Jan 2020 21:58:24 +0100 Subject: [PATCH] doc: also build docs when building everything else Before this change `make` would build everything but the docs. They would be built during `make install` which is unexpected. Add a dependency to `doc-all` to the `default` target so that docs are build together with the rest of the programs. Leave the `install-data` as is, to still build the docs if they are not built yet during install. Changelog-None --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dcfd907ad..cbcff9218 100644 --- a/Makefile +++ b/Makefile @@ -209,7 +209,7 @@ ifeq ($(HAVE_POSTGRES),1) LDLIBS += -lpq endif -default: all-programs all-test-programs +default: all-programs all-test-programs doc-all ccan/config.h: config.vars configure ccan/tools/configurator/configurator.c ./configure --reconfigure