Files
MINGW-packages/mingw-w64-python-click/460af4cfee15072aee432b3c8c38ff58d9b0fe11.patch
Dirk Stolle 24238907e1 python-click: update to 8.2.2 (#25033)
* python-click: update to 8.2.2
* python-click: restore Makefile for docs
2025-08-02 12:19:15 +02:00

81 lines
2.1 KiB
Diff

From 460af4cfee15072aee432b3c8c38ff58d9b0fe11 Mon Sep 17 00:00:00 2001
From: Edward G <edward.g2013@gmail.com>
Date: Tue, 27 May 2025 01:11:54 -0700
Subject: [PATCH] Remove make files since use sphinx-build.
---
docs/Makefile | 20 --------------------
docs/make.bat | 36 ------------------------------------
2 files changed, 56 deletions(-)
delete mode 100644 docs/Makefile
delete mode 100644 docs/make.bat
diff --git a/docs/Makefile b/docs/Makefile
deleted file mode 100644
index 6e3c9b90d..000000000
--- a/docs/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# Minimal makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line.
-SPHINXOPTS =
-SPHINXBUILD = sphinx-build
-SPHINXPROJ = Jinja
-SOURCEDIR = .
-BUILDDIR = _build
-
-# Put it first so that "make" without argument is like "make help".
-help:
- @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
-
-.PHONY: help Makefile
-
-# Catch-all target: route all unknown targets to Sphinx using the new
-# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
-%: Makefile
- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
diff --git a/docs/make.bat b/docs/make.bat
deleted file mode 100644
index 147946324..000000000
--- a/docs/make.bat
+++ /dev/null
@@ -1,36 +0,0 @@
-@ECHO OFF
-
-pushd %~dp0
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
- set SPHINXBUILD=sphinx-build
-)
-set SOURCEDIR=.
-set BUILDDIR=_build
-set SPHINXPROJ=Jinja
-
-if "%1" == "" goto help
-
-%SPHINXBUILD% >NUL 2>NUL
-if errorlevel 9009 (
- echo.
- echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
- echo.installed, then set the SPHINXBUILD environment variable to point
- echo.to the full path of the 'sphinx-build' executable. Alternatively you
- echo.may add the Sphinx directory to PATH.
- echo.
- echo.If you don't have Sphinx installed, grab it from
- echo.http://sphinx-doc.org/
- exit /b 1
-)
-
-%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
-goto end
-
-:help
-%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
-
-:end
-popd