File: rules

package info (click to toggle)
xfce4-hdaps 0.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,180 kB
  • ctags: 65
  • sloc: sh: 3,851; ansic: 435; makefile: 100
file content (29 lines) | stat: -rwxr-xr-x 727 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
#!/usr/bin/make -f

build: build-stamp
build-stamp:
	dh build --before dh_auto_configure
	dh_auto_configure -- --libexec=/usr/lib LDFLAGS="-Wl,-z,defs -Wl,--as-needed"
	# Don't run tests for now, they fail but the plugin works fine.
	dh build --before dh_auto_test
	dh build --after dh_auto_test
	touch $@

clean:
	dh clean

install: build
	dh install
	# upstream installs ${prefix}/share/locale, but has no translations yet
	# lintian says "package-contains-empty-directory", so let's remove it
	find $(CURDIR)/debian/xfce4-hdaps -type d -empty -delete

binary-arch: install
	dh binary-arch

binary-indep: install
	dh binary-indep

binary: binary-arch binary-indep

.PHONY: build clean install binary binary-arch binary-indep