Compare commits

...

3 Commits

Author SHA1 Message Date
Ihor Radchenko c37a17ac2a
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 <rustompmody@gmail.com>
Link: https://orgmode.org/list/CAJ+TeofCBfEo-WyGk-n0DATW3QNKjBRayQYbMXrTFAy-TX+ovA@mail.gmail.com
2024-06-18 17:22:53 +02:00
Ihor Radchenko defcf83365
Makefile ($(info): Document make repro
Reported-by: Rustom Mody <rustompmody@gmail.com>
Link: https://orgmode.org/list/CAJ+TeofCBfEo-WyGk-n0DATW3QNKjBRayQYbMXrTFAy-TX+ovA@mail.gmail.com
2024-06-18 17:01:01 +02:00
Ihor Radchenko 267c5dae32
mk/default.mk (REPRO): Ensure consistency with make vanilla 2024-06-18 17:00:42 +02:00
3 changed files with 4 additions and 4 deletions

View File

@ -31,6 +31,7 @@ help helpall::
$(info make autoloads - create org-loaddefs.el to load Org in-place)
$(info make test - build Org ELisp files and run test suite)
$(info make vanilla - run Emacs with this Org-mode and no personal config)
$(info make repro - like vanilla, but refresh compilation and enable debugging [use this to reproduce bugs])
helpall::
$(info make test-dirty - check without building first)
$(info make compile-dirty - build only stale Org ELisp files)

View File

@ -112,7 +112,7 @@ endif
# Running a plain emacs with no config, this Org mode loaded, and
# debugging facilities activated.
REPRO = $(NOBATCH) $(REPRO_INIT) $(REPRO_ARGS)
REPRO = $(NOBATCH) $(BTEST_INIT) $(REPRO_INIT) $(REPRO_ARGS)
# start Emacs with no user and site configuration
# EMACSQ = -vanilla # XEmacs

View File

@ -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