File: change-paths_set-debian-paths.patch

package info (click to toggle)
motion 4.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,020 kB
  • sloc: ansic: 26,372; makefile: 83; sh: 59
file content (54 lines) | stat: -rw-r--r-- 1,666 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Description: Set paths and remove files that are redudant in Debian
 Debian build system already installs copyright, and already keeps
 track of configuration files and versions across upgrades.
 .
 The check target has been renamed pending https://github.com/Motion-Project/motion/issues/1257
Author: Ximin Luo <infinity0@debian.org>
Forwarded: not-needed

--- a/data/motion-dist.conf.in
+++ b/data/motion-dist.conf.in
@@ -22,13 +22,13 @@
 ; pid_file value
 
 # File to write logs messages into.  If not defined stderr and syslog is used.
-; log_file value
+log_file /var/log/motion/motion.log
 
 # Level of log messages [1..9] (EMG, ALR, CRT, ERR, WRN, NTC, INF, DBG, ALL).
 log_level 6
 
 # Target directory for pictures, snapshots and movies
-; target_dir value
+target_dir /var/lib/motion
 
 # Video device (e.g. /dev/video0) to be used for capturing.
 videodevice /dev/video0
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(motion, esyscmd(['./scripts/version.sh']))
+AC_INIT(motion, esyscmd(['debian/version.sh']))
 AM_INIT_AUTOMAKE([subdir-objects foreign])
 AM_MAINTAINER_MODE([enable])
 AC_PROG_CC
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,7 +20,6 @@
 	doc/outputnormal1.jpg \
 	doc/motion_guide.html \
 	doc/motion_stylesheet.css \
-	doc/COPYING \
 	doc/CREDITS \
 	doc/motion_build.html \
 	doc/motion_config.html
@@ -47,6 +46,9 @@
 	@rm -f po/*.po\~
 
 check:
+	true
+
+maintainer-check:
 	./configure --with-prototype-flags                   && $(MAKE) clean && $(MAKE)
 	./configure --with-prototype-flags --without-mariadb && $(MAKE) clean && $(MAKE)
 	./configure --with-prototype-flags --without-ffmpeg  && $(MAKE) clean && $(MAKE)