File: rules

package info (click to toggle)
libfreecontact-perl 0.08-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 280 kB
  • ctags: 6
  • sloc: perl: 87; makefile: 12
file content (22 lines) | stat: -rwxr-xr-x 510 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
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

Description := $(shell sed -e ':a; N; s/\n/$${Newline}/; ta' < debian/Description)

%:
	dh $@ --parallel

override_dh_auto_configure:
	dh_auto_configure -- OPTIMIZE="$(CPPFLAGS) $(CFLAGS)" LD="$(shell perl -V::ld:) $(LDFLAGS)"

override_dh_gencontrol:
	dh_gencontrol -- '-VDescription=$(Description)'

override_dh_auto_clean:
	rm -f Makefile.old
	dh_auto_clean

get-orig-source:
	uscan --verbose --force-download --destdir=..