From 62b1883c2211caae4b119ed03428036c9c62cf15 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 28 Dec 2017 01:37:32 +0100 Subject: [PATCH] Always build the whole project before installing --- src/makefile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/makefile.c b/src/makefile.c index a9680c8..027aeeb 100644 --- a/src/makefile.c +++ b/src/makefile.c @@ -2047,8 +2047,7 @@ static int _write_install(Makefile * makefile) char const * targets; targets = _makefile_get_config(makefile, NULL, "targets"); - _makefile_target(makefile, "install", - (targets != NULL) ? "$(TARGETS)" : NULL, NULL); + _makefile_target(makefile, "install", "all", NULL); if(_makefile_get_config(makefile, NULL, "subdirs") != NULL) _makefile_subdirs(makefile, "install"); ret |= _install_targets(makefile);