File: rules

package info (click to toggle)
glome 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 716 kB
  • sloc: ansic: 2,468; python: 508; sh: 149; makefile: 20
file content (29 lines) | stat: -rwxr-xr-x 720 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
#!/usr/bin/make -f

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	ln -s rust/Cargo.toml Cargo.toml
	dh $@
	rm Cargo.toml

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=meson -- -D glome-cli=false
	dh_auto_configure -O--buildsystem=cargo

override_dh_auto_build:
	dh_auto_build -O--buildsystem=meson
	dh_auto_build -O--buildsystem=cargo

override_dh_auto_test:
	dh_auto_test -O--buildsystem=meson
	dh_auto_test -O--buildsystem=cargo

override_dh_auto_install:
	dh_auto_install -O--buildsystem=meson
	dh_auto_install -O--buildsystem=cargo -- --features=cli

override_dh_auto_clean:
	dh_auto_clean -O--buildsystem=meson
	dh_auto_clean -O--buildsystem=cargo