File: Makefile.am

package info (click to toggle)
syslog-ng 4.8.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,572 kB
  • sloc: ansic: 177,639; python: 13,035; cpp: 11,611; makefile: 7,012; sh: 5,147; java: 3,651; xml: 3,344; yacc: 1,377; lex: 599; perl: 193; awk: 190; objc: 162
file content (82 lines) | stat: -rw-r--r-- 1,753 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
SCL_SUBDIRS	= \
	apache		\
	arr		\
	cee		\
	cim		\
	cisco		\
	collectd \
	checkpoint	\
	default-network-drivers	\
	darwinosl \
	discord \
	elasticsearch	\
	ewmm		\
	fortigate	\
	google	\
	graphite	\
	graylog2	\
	hdfs		\
	iptables	\
	jellyfin	\
	junos		\
	kafka		\
	linux-audit	\
	loadbalancer	\
	loggly		\
	logmatic	\
	logscale	\
	mariadb		\
	mbox		\
	netskope	\
	nodejs		\
	openobserve \
	opensearch	\
	osquery	\
	pacct		\
	paloalto 	\
	pihole		\
	pgsql 	\
	python		\
	qbittorrent	\
	rewrite	\
	slack \
	snmptrap	\
	solaris	\
	splunk \
	sudo		\
	sumologic	\
	syslogconf	\
	system		\
	websense	\
	telegram	\
	windowseventlog


SCL_CONFIGS	= scl.conf syslog-ng.conf

EXTRA_DIST	+= $(addprefix scl/,$(SCL_CONFIGS) $(SCL_SUBDIRS)) scl/CMakeLists.txt

scl-install-data-local:
	if [ -f $(DESTDIR)/$(sysconfdir)/syslog-ng.conf ]; then \
		echo "Not overwriting existing configuration file, you might want to upgrade manually: syslog-ng.conf"; \
	else \
		$(install_sh_DATA) $(srcdir)/scl/syslog-ng.conf  $(DESTDIR)/$(sysconfdir)/syslog-ng.conf; \
	fi
	$(mkinstalldirs) $(DESTDIR)/$(scldir)
	if [ -f $(DESTDIR)/$(config_includedir)/scl.conf ]; then \
		echo "Not overwriting existing configuration file, you might want to upgrade manually: scl.conf"; \
	else \
		$(install_sh_DATA) $(srcdir)/scl/scl.conf  $(DESTDIR)/$(config_includedir)/scl.conf; \
	fi
	(cd $(srcdir)/scl; tar cf - $(SCL_SUBDIRS)) | (cd $(DESTDIR)/$(scldir) && tar xf - --no-same-owner)
	chmod -R u+rwX $(DESTDIR)/$(scldir)

scl-uninstall-local:
	rm -f $(DESTDIR)/$(sysconfdir)/syslog-ng.conf
	rm -f $(DESTDIR)/$(config_includedir)/scl.conf
	rm -rf $(DESTDIR)/$(scldir)

scl-install: scl-install-data-local

INSTALL_EXEC_HOOKS	+= scl-install-data-local
UNINSTALL_HOOKS	+= scl-uninstall-local