File: sphinx-doc-install-fix

package info (click to toggle)
eggdrop 1.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,596 kB
  • sloc: ansic: 65,863; javascript: 8,908; sh: 5,337; tcl: 3,801; makefile: 1,771; python: 121
file content (35 lines) | stat: -rw-r--r-- 1,340 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Sébastien Noel <sebastien@twolife.be>
Last-Update: 2025-08-19
Forwarded: TODO
Description: fix sphinx doc install
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -17,7 +17,7 @@
 
 MAN1 = man1/eggdrop.1
 
-WEB_ROOT = $(srcdir)/html/*.html
+WEB_ROOT = $(srcdir)/html/*.html $(srcdir)/html/*.js
 WEB_ABOUT = $(srcdir)/html/about/*.html
 WEB_INSTALL = $(srcdir)/html/install/*.html
 WEB_MOD = $(srcdir)/html/modules/*.html
@@ -81,6 +81,10 @@
                 echo "Creating 'doc/html/_static' subdirectory."; \
                 $(top_srcdir)/misc/mkinstalldirs $(DEST)/doc/html/_static >/dev/null; \
         fi
+	@if test -d $(srcdir)/html/_sources -a ! -d $(DEST)/doc/html/_sources; then \
+                echo "Creating 'doc/html/_sources' subdirectory."; \
+                cp -a $(srcdir)/html/_sources $(DEST)/doc/html/_sources >/dev/null; \
+        fi
 	@if test ! -d $(DEST)/doc/settings; then \
 		echo "Creating 'doc/settings' subdirectory."; \
 		$(top_srcdir)/misc/mkinstalldirs $(DEST)/doc/settings >/dev/null; \
@@ -107,7 +111,7 @@
 	fi
 	@if test "x`echo $(WEB_ABOUT)`" != "x$(WEB_ABOUT)"; then \
 		for i in `echo $(WEB_ABOUT)`; do \
-			$(INSTALL_DATA) $$i $(DEST)/doc/html/appendices; \
+			$(INSTALL_DATA) $$i $(DEST)/doc/html/about; \
 		done; \
 	fi
 	@if test "x`echo $(WEB_INSTALL)`" != "x$(WEB_INSTALL)"; then \