[libxml2] Remove xmlwin32version.h
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Remove xmlwin32version.h
- Date: Wed, 16 Feb 2022 19:23:09 +0000 (UTC)
commit b041d829a211072bdab0026219b5a428268648d4
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Wed Feb 16 19:55:30 2022 +0100
Remove xmlwin32version.h
This file was undocumented and never used anywhere. Maybe users were
supposed to rename this file to xmlversion.h manually. These days, both
CMake and win32/configure.js generate xmlversion.h from xmlversion.h.in,
just like the Autotools build.
CMakeLists.txt | 5 -
doc/apibuild.py | 4 +-
include/libxml/Makefile.am | 2 +-
include/libxml/xmlwin32version.h | 239 --------------------------
include/libxml/xmlwin32version.h.in | 322 ------------------------------------
os400/make-include.sh | 3 -
6 files changed, 3 insertions(+), 572 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66928673..f922d5ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -686,11 +686,6 @@ install(
configure_file(include/libxml/xmlversion.h.in libxml/xmlversion.h)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libxml/xmlversion.h DESTINATION
${CMAKE_INSTALL_INCLUDEDIR}/libxml2/libxml COMPONENT development)
-if(MSVC)
- configure_file(include/libxml/xmlwin32version.h.in libxml/xmlwin32version.h)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libxml/xmlwin32version.h DESTINATION
${CMAKE_INSTALL_INCLUDEDIR}/libxml2/libxml COMPONENT development)
-endif()
-
if(LIBXML2_WITH_PYTHON)
set(prefix "${CMAKE_INSTALL_PREFIX}")
configure_file(python/setup.py.in setup.py @ONLY)
diff --git a/doc/apibuild.py b/doc/apibuild.py
index 18e8a9d3..c8be0ee3 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -2114,11 +2114,11 @@ def rebuild():
if glob.glob("parser.c") != [] :
print("Rebuilding API description for libxml2")
builder = docBuilder("libxml2", [".", "."],
- ["xmlwin32version.h", "tst.c"])
+ ["tst.c"])
elif glob.glob("../parser.c") != [] :
print("Rebuilding API description for libxml2")
builder = docBuilder("libxml2", ["..", "../include/libxml"],
- ["xmlwin32version.h", "tst.c"])
+ ["tst.c"])
elif glob.glob("../libxslt/transform.c") != [] :
print("Rebuilding API description for libxslt")
builder = docBuilder("libxslt", ["../libxslt"],
diff --git a/include/libxml/Makefile.am b/include/libxml/Makefile.am
index 328c1800..cf9297aa 100644
--- a/include/libxml/Makefile.am
+++ b/include/libxml/Makefile.am
@@ -51,4 +51,4 @@ xmlinc_HEADERS = \
xmlsave.h \
schematron.h
-EXTRA_DIST = xmlversion.h.in xmlwin32version.h.in
+EXTRA_DIST = xmlversion.h.in
diff --git a/os400/make-include.sh b/os400/make-include.sh
index 4e5b0589..9394e629 100644
--- a/os400/make-include.sh
+++ b/os400/make-include.sh
@@ -52,9 +52,6 @@ do CMD="cat \"${HFILE}\""
case "`basename \"${HFILE}\"`" in
- xmlwin32version.h*)
- continue;; # Not on M$W !
-
*.in) CMD="${CMD} | versioned_copy";;
xmlschemastypes.h) # Special case: rename colliding file.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]