File: rules

package info (click to toggle)
logdata-anomaly-miner 2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 4,464 kB
  • sloc: python: 24,066; sh: 1,860; xml: 821; makefile: 19
file content (33 lines) | stat: -rwxr-xr-x 1,163 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

%:
	dh $@ --with=python3

execute_before_dh_auto_build:
	xsltproc --nonet \
	--param make.year.ranges 1 \
	--param make.single.year.ranges 1 \
	--param man.charmap.use.subset 0 \
	-o debian/ \
	http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
	debian/aminer.1.xml debian/aminerremotecontrol.1.xml

execute_after_dh_install:
	chmod a-x \
		debian/logdata-anomaly-miner/usr/lib/logdata-anomaly-miner/aminer/analysis/NewMatchPathValueComboDetector.py \
		debian/logdata-anomaly-miner/usr/lib/logdata-anomaly-miner/aminer/analysis/NewMatchPathValueDetector.py \
		debian/logdata-anomaly-miner/usr/lib/logdata-anomaly-miner/aminer/analysis/__init__.py

# Modify startup behaviour in auto-generated code in postinst:
# Do not attempt to add aminer.service to autostart if user does
# not want to have it running explicitely. See "Running as a Service"
# from /usr/share/doc/aminer/Readme.txt.gz for more information.
override_dh_installsystemd:
	dh_installsystemd --no-enable

override_dh_installchangelogs:
	dh_installchangelogs changelog