File: rules

package info (click to toggle)
yara 4.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,480 kB
  • sloc: ansic: 36,499; yacc: 2,503; lex: 1,823; cpp: 795; makefile: 432; javascript: 85; python: 35; sh: 4
file content (33 lines) | stat: -rwxr-xr-x 671 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
#export DH_VERBOSE=1

%:
	dh $@  --with sphinxdoc

override_dh_auto_configure:
	rm -f \
		libyara/*grammar.[ch] \
		libyara/*lexer.[ch]
	dh_auto_configure -- --enable-cuckoo --enable-magic --enable-debug --enable-dotnet --enable-macho --enable-dex

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C docs html

override_dh_auto_clean:
	rm -rf yara-python/build docs/_build
	dh_auto_clean

override_dh_autoreconf:
	mkdir -p m4 libyara/m4
	dh_autoreconf

override_dh_missing:
	dh_missing -X.la --fail-missing

override_dh_install:
	dh_install -X.la

override_dh_installchangelogs:
	dh_installchangelogs
	dh_installchangelogs -a debian/changelog.upstream