File: no-pkg-load-at-docs-build.patch

package info (click to toggle)
octave-interval 3.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,580 kB
  • sloc: ansic: 31,664; sh: 3,708; cpp: 2,958; objc: 1,662; makefile: 243; xml: 58; sed: 8
file content (17 lines) | stat: -rw-r--r-- 598 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Do not load the interval package when building the docs
Author: Rafael Laboissiere <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2018-07-05

--- octave-interval-3.2.0.orig/doc/Makefile
+++ octave-interval-3.2.0/doc/Makefile
@@ -27,7 +27,8 @@ manual.pdf: manual.texinfo $(wildcard ch
 image/%.m.png: image/%.m
 	@echo " [OCTAVE] $<"
 	@$(OCTAVE) --no-history \
-		--eval "pkg load interval;" \
+		--eval "addpath ('../inst');" \
+		--eval "addpath ('../src');" \
 		--eval "set (0, 'defaultfigurevisible', 'off');" \
 		--eval "source ('$<');" \
 		--eval "print (gcf, '$@');"