File: 09-fix-hconsole-doc-install.patch

package info (click to toggle)
hatari 2.6.1%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 11,232 kB
  • sloc: ansic: 167,249; cpp: 8,685; python: 6,324; objc: 1,888; asm: 1,754; sh: 1,688; javascript: 149; makefile: 87; xml: 32
file content (23 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Install hconsole documentation and examples under DOCDIR
Author: Teemu Hukkanen <tjhukkan@iki.fi>
Forwarded: not-needed

Index: pkg-hatari/tools/hconsole/CMakeLists.txt
===================================================================
--- pkg-hatari.orig/tools/hconsole/CMakeLists.txt
+++ pkg-hatari/tools/hconsole/CMakeLists.txt
@@ -1,11 +1,11 @@
 
 # example.py imports hconsole.py, so it needs to be in the same dir
-INSTALL(PROGRAMS hconsole.py example.py
+INSTALL(PROGRAMS hconsole.py
 	DESTINATION ${DATADIR}/hconsole/)
 
 # files imported by example.py, also need to be in the same dir
-INSTALL(FILES example-commands example-debugger
-	DESTINATION ${DATADIR}/hconsole/)
+INSTALL(FILES example.py example-commands example-debugger
+	DESTINATION ${DOCDIR}/hconsole/)
 
 # documentation
 INSTALL(FILES release-notes.txt