File: rules

package info (click to toggle)
ii 2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 164 kB
  • sloc: ansic: 1,556; makefile: 134; sh: 23
file content (20 lines) | stat: -rwxr-xr-x 478 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 DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

-include /usr/share/dpkg/buildtools.mk
PKG_CONFIG ?= pkg-config
export PKG_CONFIG

# make strlcpy available
CFLAGS  += $(shell $(PKG_CONFIG) --cflags libbsd-overlay)
LDFLAGS += $(shell $(PKG_CONFIG) --libs libbsd-overlay)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr
	rm -f $(CURDIR)/debian/ii/usr/share/doc/ii/LICENSE