Debian Codegraph @

debian/patches/find_timing_scripts.patch

raw symbols SCIP
1 Description: move the timing scripts to a saner location
2 Author: J.Puydt
3 Forwarded: not-needed
4
5 --- coq.orig/tools/CoqMakefile.in
6 +++ coq/tools/CoqMakefile.in
7 @@ -106,9 +106,9 @@
8 OCAMLLIBDEP ?= "$(COQBIN)ocamllibdep"
9
10 # Timing scripts
11 -COQMAKE_ONE_TIME_FILE ?= "$(COQCORELIB)/tools/make-one-time-file.py"
12 -COQMAKE_BOTH_TIME_FILES ?= "$(COQCORELIB)/tools/make-both-time-files.py"
13 -COQMAKE_BOTH_SINGLE_TIMING_FILES ?= "$(COQCORELIB)/tools/make-both-single-timing-files.py"
14 +COQMAKE_ONE_TIME_FILE ?= "/usr/libexec/coq/make-one-time-file.py"
15 +COQMAKE_BOTH_TIME_FILES ?= "/usr/libexec/coq/make-both-time-files.py"
16 +COQMAKE_BOTH_SINGLE_TIMING_FILES ?= "/usr/libexec/coq/make-both-single-timing-files.py"
17 BEFORE ?=
18 AFTER ?=
19
20 --- coq.orig/tools/make-both-single-timing-files.py
21 +++ coq/tools/make-both-single-timing-files.py
22 @@ -1,4 +1,6 @@
23 #!/usr/bin/python3
24 +import sys
25 +sys.path.insert(1, '/usr/libexec/coq')
26 from TimeFileMaker import *
27
28 if __name__ == '__main__':
29 --- coq.orig/tools/make-both-time-files.py
30 +++ coq/tools/make-both-time-files.py
31 @@ -1,4 +1,6 @@
32 #!/usr/bin/python3
33 +import sys
34 +sys.path.insert(1, '/usr/libexec/coq')
35 from TimeFileMaker import *
36
37 if __name__ == '__main__':
38 --- coq.orig/tools/make-one-time-file.py
39 +++ coq/tools/make-one-time-file.py
40 @@ -1,5 +1,6 @@
41 #!/usr/bin/python3
42 import sys
43 +sys.path.insert(1, '/usr/libexec/coq')
44 from TimeFileMaker import *
45
46 if __name__ == '__main__':