[Python-checkins] cpython (merge 3.4 -> 3.4): Merge.
larry.hastings
python-checkins at python.org
Sun Jun 26 23:02:17 EDT 2016
https://hg.python.org/cpython/rev/a2787831ac08
changeset: 102203:a2787831ac08
branch: 3.4
parent: 102202:2dac6cd4238f
parent: 102048:dfc57c66a670
user: Larry Hastings <larry at hastings.org>
date: Sun Jun 26 19:43:00 2016 -0700
summary:
Merge.
files:
Doc/Makefile | 8 +++++++-
Modules/expat/xmlrole.c | 4 ++--
Modules/expat/xmltok.c | 4 ++--
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/Doc/Makefile b/Doc/Makefile
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -161,7 +161,7 @@
-make suspicious
# for quick rebuilds (HTML only)
-autobuild-html:
+autobuild-dev-html:
make html SPHINXOPTS='-A daily=1 -A versionswitcher=1'
# for stable releases: only build if not in pre-release stage (alpha, beta)
@@ -173,3 +173,9 @@
esac
@make autobuild-dev
+autobuild-stable-html:
+ @case $(DISTVERSION) in *[ab]*) \
+ echo "Not building; $(DISTVERSION) is not a release version."; \
+ exit 1;; \
+ esac
+ @make autobuild-dev-html
diff --git a/Modules/expat/xmlrole.c b/Modules/expat/xmlrole.c
--- a/Modules/expat/xmlrole.c
+++ b/Modules/expat/xmlrole.c
@@ -2,6 +2,8 @@
See the file COPYING for copying permission.
*/
+#include <stddef.h>
+
#ifdef COMPILED_FROM_DSP
#include "winconfig.h"
#elif defined(MACOS_CLASSIC)
@@ -16,8 +18,6 @@
#endif
#endif /* ndef COMPILED_FROM_DSP */
-#include <stddef.h>
-
#include "expat_external.h"
#include "internal.h"
#include "xmlrole.h"
diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c
--- a/Modules/expat/xmltok.c
+++ b/Modules/expat/xmltok.c
@@ -2,6 +2,8 @@
See the file COPYING for copying permission.
*/
+#include <stddef.h>
+
#ifdef COMPILED_FROM_DSP
#include "winconfig.h"
#elif defined(MACOS_CLASSIC)
@@ -16,8 +18,6 @@
#endif
#endif /* ndef COMPILED_FROM_DSP */
-#include <stddef.h>
-
#include "expat_external.h"
#include "internal.h"
#include "xmltok.h"
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list