if DESCEND_MODULES
sxe_subdirs += modules
endif
+## Note that src and lisp are traversed twice on purpose
+## for use of the proper dumped emacs for the autoloads and tests
sxe_subdirs += src lisp src lisp info etc tests
SUBDIRS =
.PHONY: stage1 stage2 build-report time-build-report time-check beta
## Convenience target for SXEmacs beta testers
beta:
- $(MAKE) $(RECURSIVE_MAKE_ARGS) clean
- $(MAKE) $(RECURSIVE_MAKE_ARGS) all
+ $(MAKE) $(AM_MAKEFLAGS) clean
+ $(MAKE) $(AM_MAKEFLAGS) all
@ touch ,,build.done
## Convenience target for SXEmacs build reporters
echo RECURSIVE_MAKE_ARGS="${RECURSIVE_MAKE_ARGS}" ) | tee -a ,,vars.out
time-beta:
- (time $(MAKE) $(RECURSIVE_MAKE_ARGS) beta )2>&1 | tee ,,beta.out
+ (time $(MAKE) $(AM_MAKEFLAGS) beta )2>&1 | tee ,,beta.out
time-all:
- time $(MAKE) $(RECURSIVE_MAKE_ARGS) all
+ time $(MAKE) $(AM_MAKEFLAGS) all
time-check:
- (time $(MAKE) $(RECURSIVE_MAKE_ARGS) check ) 2>&1 | tee ,,make-check.out
+ (time $(MAKE) $(AM_MAKEFLAGS) check ) 2>&1 | tee ,,make-check.out
build-report: env-report
- $(MAKE) $(RECURSIVE_MAKE_ARGS) beta 2>&1 | tee ,,beta.out
+ $(MAKE) $(AM_MAKEFLAGS) beta 2>&1 | tee ,,beta.out
@ [ -f ,,build.done ] || exit 1
- $(MAKE) $(RECURSIVE_MAKE_ARGS) check 2>&1 | tee ,,make-check.out
+ $(MAKE) -w $(MAKEFLAGS) check 2>&1 | tee ,,make-check.out
time-build-report: env-report
- (time $(MAKE) $(RECURSIVE_MAKE_ARGS) beta ) 2>&1 | tee ,,beta.out
+ $(MAKE) $(AM_MAKEFLAGS) time-beta
@ [ -f ,,build.done ] || exit 1
- (time $(MAKE) $(RECURSIVE_MAKE_ARGS) check ) 2>&1 | tee ,,make-check.out
+ $(MAKE) $(AM_MAKEFLAGS) time-check
stage1:
@echo