branch: externals/org commit c37a17ac2a0c57f0add2332d14657af3224ea8cc Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
make up1/up2/update/update2: Clean and generate autoloads before building docs/tests We need to run clean to get rid of stale .elc files from before git fetch, and we need to generate autoloads to make things run properly. Reported-by: Rustom Mody <rustompm...@gmail.com> Link: https://orgmode.org/list/caj+teofcbfeo-wygk-n0datw3qnkjbrayqybmxrtfay-tx+...@mail.gmail.com --- mk/targets.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mk/targets.mk b/mk/targets.mk index d8c2a5294a..00be37dc24 100644 --- a/mk/targets.mk +++ b/mk/targets.mk @@ -68,7 +68,7 @@ config config-test config-exe config-all config-version:: oldorg: compile info # what the old makefile did when no target was specified uncompiled: | cleanlisp autoloads # for developing refcard: card -update update2:: | up0 all +update update2:: | up0 clean autoloads all single: ORGCM=single single: compile @@ -108,8 +108,7 @@ up0 up1 up2:: git checkout $(GIT_BRANCH) git remote update git pull -up1 up2:: all - $(MAKE) test-dirty +up1 up2:: clean autoloads test-dirty up2 update2:: $(SUDO) $(MAKE) install