File: install-docs-move.patch

package info (click to toggle)
backintime 1.0.36-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 3,284 kB
  • sloc: python: 10,536; sh: 444; xml: 157; makefile: 138
file content (40 lines) | stat: -rw-r--r-- 2,154 bytes parent folder | download | duplicates (2)
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
36
37
38
39
40
Description: move common documentation to correct location
 Upstream's makefiles install the common documentation to
 /usr/share/doc/backintime, but there is no such Debian package shipped.
 The correct location should be /usr/share/doc/backintime-common.
Author: Jonathan Wiltshire <jmw@debian.org>
Last-Updated: 2014-10-26

--- a/common/Makefile.template
+++ b/common/Makefile.template
@@ -22,20 +22,20 @@
 	install --mode=644 debian_specific/copyright $(DEST)/share/doc/backintime-common
 	
 	#install doc file(s)
-	install -d $(DEST)/share/doc/backintime
-	install --mode=644 ../AUTHORS $(DEST)/share/doc/backintime
-	install --mode=644 ../LICENSE $(DEST)/share/doc/backintime
-	install --mode=644 ../README $(DEST)/share/doc/backintime
-	install --mode=644 ../TRANSLATIONS $(DEST)/share/doc/backintime
-	install --mode=644 ../VERSION $(DEST)/share/doc/backintime
-	install --mode=644 ../CHANGES $(DEST)/share/doc/backintime
+	install -d $(DEST)/share/doc/backintime-common
+	install --mode=644 ../AUTHORS $(DEST)/share/doc/backintime-common
+	# install --mode=644 ../LICENSE $(DEST)/share/doc/backintime-common
+	install --mode=644 ../README $(DEST)/share/doc/backintime-common
+	install --mode=644 ../TRANSLATIONS $(DEST)/share/doc/backintime-common
+	install --mode=644 ../VERSION $(DEST)/share/doc/backintime-common
+	# install --mode=644 ../CHANGES $(DEST)/share/doc/backintime-common
 
 	#install config-example files(s)
 	gzip --best -c config-example-local > config-example-local.gz
 	gzip --best -c config-example-ssh > config-example-ssh.gz
-	install -d $(DEST)/share/doc/backintime/examples
-	install --mode=644 config-example-local.gz $(DEST)/share/doc/backintime/examples
-	install --mode=644 config-example-ssh.gz $(DEST)/share/doc/backintime/examples
+	install -d $(DEST)/share/doc/backintime-common/examples
+	install --mode=644 config-example-local.gz $(DEST)/share/doc/backintime-common/examples
+	install --mode=644 config-example-ssh.gz $(DEST)/share/doc/backintime-common/examples
 	
 	#install man file(s)
 	for i in $$(ls -1 man/C/); do case $$i in *.gz|*~) continue;; *) gzip --best -c man/C/$$i > man/C/$${i}.gz;; esac; done