Make documentation reproducible
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Wed, 1 Sep 2021 15:26:31 +0000 (17:26 +0200)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Wed, 1 Sep 2021 15:32:48 +0000 (17:32 +0200)
debian/patches/debian_python3-doxygen.patch [new file with mode: 0644]
debian/patches/debian_python3.patch [deleted file]
debian/patches/series
debian/rules

diff --git a/debian/patches/debian_python3-doxygen.patch b/debian/patches/debian_python3-doxygen.patch
new file mode 100644 (file)
index 0000000..87e4dbc
--- /dev/null
@@ -0,0 +1,35 @@
+From: =?utf-8?q?IOhannes_m_zm=C3=B6lnig?= <umlaeute@debian.org>
+Date: Sat, 10 Feb 2018 00:00:00 +0100
+Subject: Doc build fixes
+
+ use Python3 rather than Python2
+ make docs reproducible
+Forwarded: no
+---
+ docs/doxygen/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- juce.orig/docs/doxygen/Makefile
++++ juce/docs/doxygen/Makefile
+@@ -8,7 +8,7 @@
+       doxygen
+ build/juce_modules.dox: process_source_files.py $(SOURCE_FILES)
+-      python $< ../../modules build
++      python3 $< ../../modules build
+ clean:
+       rm -rf build doc
+--- juce.orig/docs/doxygen/Doxyfile
++++ juce/docs/doxygen/Doxyfile
+@@ -801,9 +801,7 @@
+ # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
+ # Note: If this tag is empty the current directory is searched.
+-INPUT                  = build \
+-                         "../JUCE Module Format.md" \
+-                         "../CMake API.md"
++INPUT                  = build
+ # This tag can be used to specify the character encoding of the source files
+ # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
diff --git a/debian/patches/debian_python3.patch b/debian/patches/debian_python3.patch
deleted file mode 100644 (file)
index 5d47356..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-From: =?utf-8?q?IOhannes_m_zm=C3=B6lnig?= <umlaeute@debian.org>
-Date: Sat, 10 Feb 2018 00:00:00 +0100
-Subject: use Python3 rather than Python2
-
- for building the documentation
-Forwarded: no
----
- docs/doxygen/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- juce.orig/docs/doxygen/Makefile
-+++ juce/docs/doxygen/Makefile
-@@ -8,7 +8,7 @@
-       doxygen
- build/juce_modules.dox: process_source_files.py $(SOURCE_FILES)
--      python $< ../../modules build
-+      python3 $< ../../modules build
- clean:
-       rm -rf build doc
index c1d3c35995c2463a00a98ad3779511e3b890a75e..442a4dca73382b7df7ac35542e1556ade8d82dc5 100644 (file)
@@ -2,7 +2,7 @@ LV2-audioprocessor.patch
 debian_fixed-defines.patch
 debian_no-update-check.patch
 debian_system_modules.patch
-debian_python3.patch
+debian_python3-doxygen.patch
 debian_unittests_globalpaths.patch
 debian_vst.patch
 debian_link_systemlibs.patch
index 06273b6d9f234071e8c8917834f8b3e56c57b4b8..fe66d0e0611d82678ee839151f2e2f33637d7a2d 100755 (executable)
@@ -57,6 +57,8 @@ override_dh_auto_build-arch:
                > $(DEBIAN_BUILD_ARTIFACTS)/Projucer.1
 
 override_dh_auto_build-indep:
+       mkdir -p docs/doxygen/build
+       cp docs/JUCE*.md docs/CMake*.md docs/doxygen/build/
        make -C docs/doxygen
 
 override_dh_auto_install-arch: