File: rules

package info (click to toggle)
tsung 1.7.0-3.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 4,868 kB
  • sloc: erlang: 25,104; sh: 3,109; perl: 1,023; makefile: 624; python: 372
file content (34 lines) | stat: -rwxr-xr-x 745 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
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@ --with python3

override_dh_auto_clean:
	dh_auto_clean
	rm -f Makefile
	rm -f config.status
	rm -f ebin/tsung.app
	rm -f ebin/tsung_controller.app
	rm -f ebin/tsung_recorder.app
	rm -f examples/*.xml
	rm -f src/tsung/tsung.app.src
	rm -f src/tsung_controller/tsung_controller.app.src
	rm -f src/tsung/tsung.app
	rm -f src/tsung_controller/tsung_controller.app
	rm -f src/tsung_recorder/tsung_recorder.app
	cd $(CURDIR)/docs/ && make clean

override_dh_gencontrol:
	erlang-depends
	dh_gencontrol

override_dh_auto_test:

override_dh_auto_build:
	dh_auto_build
	cd $(CURDIR)/docs/ && make html

override_dh_auto_install:
	dh_auto_install
	find $(CURDIR)/debian/tsung/usr/lib -type d -empty -delete