File: rules

package info (click to toggle)
solaar 0.9.2%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,112 kB
  • sloc: python: 5,267; sh: 399; xml: 23; makefile: 21
file content (26 lines) | stat: -rwxr-xr-x 472 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
#!/usr/bin/make -f
# -*- makefile -*-

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

PREFIX = /usr

%:
	dh $@ --with=python2

override_dh_auto_build:
	./tools/po-compile.sh
	dh_auto_build

override_dh_auto_clean:
	./tools/clean.sh
	debconf-updatepo
	dh_auto_clean

override_dh_auto_install:
	dh_auto_install -- --prefix=$(PREFIX) --install-lib=$(PREFIX)/share/solaar/lib

override_dh_python2:
	dh_python2 $(PREFIX)/share/solaar/lib