File: rules

package info (click to toggle)
unibilium 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,120 kB
  • sloc: ansic: 9,288; makefile: 104; sh: 31
file content (13 lines) | stat: -rwxr-xr-x 326 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/default.mk

%:
	dh $@

override_dh_auto_build:
	$(MAKE) CFLAGS="$(CFLAGS) $(CPPFLAGS)"

override_dh_auto_install:
	$(MAKE) LDFLAGS="$(LDFLAGS)" DESTDIR="$(CURDIR)/debian/tmp" PREFIX=/usr LIBDIR='$${PREFIX}/lib/$(DEB_HOST_MULTIARCH)' install