File: rules

package info (click to toggle)
gmtp 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,948 kB
  • sloc: ansic: 8,622; makefile: 215; xml: 94; sh: 1
file content (20 lines) | stat: -rwxr-xr-x 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

LDFLAGS+=-Wl,--as-needed
export PREFIX=/usr

%:
	dh $@ -Smakefile

override_dh_auto_build:
	dh_auto_build -- gtk3

override_dh_auto_install:
	dh_auto_install
	rm debian/gmtp/usr/share/gconf/schemas/gmtp.schemas
	find debian/gmtp -type d -empty -delete