File: rules

package info (click to toggle)
plotdrop 0.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 296 kB
  • ctags: 143
  • sloc: ansic: 1,029; makefile: 76; xml: 18
file content (15 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
CFLAGS = `dpkg-buildflags --get CFLAGS`
CFLAGS += `dpkg-buildflags --get CPPFLAGS` 
LDFLAGS = `dpkg-buildflags --get LDFLAGS`

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- PREFIX=/usr CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr DESTDIR=$(CURDIR)/debian/plotdrop