Przeglądaj źródła

introduce "check" as alias for "test" to comply with GNU Makefile conventions

	  Makefile: change test to check in help text

	  targets.mk: add check as alias for test
Achim Gratz 13 lat temu
rodzic
commit
035f24673b
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 1 1
      Makefile
  2. 3 3
      targets.mk

+ 1 - 1
Makefile

@@ -26,7 +26,7 @@ targets help:
 	$(info make pdf           - make pdf documentation)
 	$(info make card          - make refcards documentation)
 	$(info )
-	$(info make test          - build org and run all test suite)
+	$(info make check         - build org and run complete test suite)
 	$(info make clean         - clean Org ELisp and documentation files)
 	$(info make compile       - cleanly compile Org ELisp files)
 	$(info make compile-dirty - compile Org ELisp without cleaning)

+ 3 - 3
targets.mk

@@ -21,7 +21,7 @@ ifneq ($(GITSTATUS),)
 endif
 
 .PHONY:	default all up2 update compile lisp doc etc \
-	test install info html pdf card docs $(INSTSUB) \
+	check test install info html pdf card docs $(INSTSUB) \
 	autoloads cleanall clean cleancontrib cleanrel clean-install \
 	cleanelc cleanlisp cleandoc cleandocs
 
@@ -37,9 +37,9 @@ all \
 clean-install::	$(SUBDIRS)
 	$(foreach dir, $?, $(MAKE) -C $(dir) $@;)
 
-test::	all
+check test::	all
 
-test \
+check test \
 test-dirty::
 	$(BTEST)