File: rules

package info (click to toggle)
unibilium 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,008 kB
  • sloc: ansic: 9,205; makefile: 116; sh: 31
file content (20 lines) | stat: -rwxr-xr-x 417 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

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

CFLAGS += $(CPPFLAGS)
export CFLAGS
export LDFLAGS

LIBTOOL=libtool
ifneq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
	LIBTOOL+=--quiet
endif
export LIBTOOL

%:
	dh $@ --buildsystem makefile

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