File: rules

package info (click to toggle)
libfreecontact-perl 0.08-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 300 kB
  • sloc: perl: 87; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 417 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

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

%:
	dh $@

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