vstinner / rpms / python3

Forked from rpms/python3 5 years ago
Clone
3ce08cb
diff --git a/Makefile.pre.in b/Makefile.pre.in
3ce08cb
index 0e1d0af..42ab191 100644
3ce08cb
--- a/Makefile.pre.in
3ce08cb
+++ b/Makefile.pre.in
3ce08cb
@@ -989,7 +989,7 @@ TESTTIMEOUT=	1200
3ce08cb
 
3ce08cb
 # Run a basic set of regression tests.
3ce08cb
 # This excludes some tests that are particularly resource-intensive.
3ce08cb
-test:		all platform
3ce08cb
+test:		@DEF_MAKE_RULE@ platform
3ce08cb
 		$(TESTRUNNER) $(TESTOPTS)
3ce08cb
 
3ce08cb
 # Run the full test suite twice - once without .pyc files, and once with.
3ce08cb
@@ -999,7 +999,7 @@ test:		all platform
3ce08cb
 # the bytecode read from a .pyc file had the bug, sometimes the directly
3ce08cb
 # generated bytecode.  This is sometimes a very shy bug needing a lot of
3ce08cb
 # sample data.
3ce08cb
-testall:	all platform
3ce08cb
+testall:	@DEF_MAKE_RULE@ platform
3ce08cb
 		-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
3ce08cb
 		$(TESTPYTHON) -E $(srcdir)/Lib/compileall.py
3ce08cb
 		-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
3ce08cb
@@ -1008,7 +1008,7 @@ testall:	all platform
3ce08cb
 
3ce08cb
 # Run the test suite for both architectures in a Universal build on OSX.
3ce08cb
 # Must be run on an Intel box.
3ce08cb
-testuniversal:	all platform
3ce08cb
+testuniversal:	@DEF_MAKE_RULE@ platform
3ce08cb
 		if [ `arch` != 'i386' ];then \
3ce08cb
 			echo "This can only be used on OSX/i386" ;\
3ce08cb
 			exit 1 ;\
3ce08cb
@@ -1031,7 +1031,7 @@ QUICKTESTOPTS=	$(TESTOPTS) -x test_subprocess test_io test_lib2to3 \
3ce08cb
 		test_multiprocessing_forkserver \
3ce08cb
 		test_mailbox test_socket test_poll \
3ce08cb
 		test_select test_zipfile test_concurrent_futures
3ce08cb
-quicktest:	all platform
3ce08cb
+quicktest:	@DEF_MAKE_RULE@ platform
3ce08cb
 		$(TESTRUNNER) $(QUICKTESTOPTS)
3ce08cb
 
3ce08cb
 
3ce08cb
@@ -1368,7 +1368,7 @@ LIBPL=		$(LIBDEST)/config-$(LDVERSION)-$(MULTIARCH)
3ce08cb
 # pkgconfig directory
3ce08cb
 LIBPC=		$(LIBDIR)/pkgconfig
3ce08cb
 
3ce08cb
-libainstall:	all python-config
3ce08cb
+libainstall:	@DEF_MAKE_RULE@ python-config
3ce08cb
 	@for i in $(LIBDIR) $(LIBPL) $(LIBPC); \
3ce08cb
 	do \
3ce08cb
 		if test ! -d $(DESTDIR)$$i; then \
3ce08cb
@@ -1616,7 +1616,7 @@ distclean: clobber
3ce08cb
 				     -exec rm -f {} ';'
3ce08cb
 
3ce08cb
 # Check for smelly exported symbols (not starting with Py/_Py)
3ce08cb
-smelly: all
3ce08cb
+smelly: @DEF_MAKE_RULE@
3ce08cb
 	nm -p $(LIBRARY) | \
3ce08cb
 		sed -n "/ [TDB] /s/.* //p" | grep -v "^_*Py" | sort -u; \
3ce08cb
 
3ce08cb
@@ -1653,7 +1653,7 @@ funny:
3ce08cb
 		-o -print
3ce08cb
 
3ce08cb
 # Perform some verification checks on any modified files.
3ce08cb
-patchcheck: all
3ce08cb
+patchcheck: @DEF_MAKE_RULE@
3ce08cb
 	$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/patchcheck.py
3ce08cb
 
3ce08cb
 # Dependencies