File: rules

package info (click to toggle)
tinycdb 0.81-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 260 kB
  • sloc: ansic: 1,716; makefile: 201; sh: 113
file content (22 lines) | stat: -rwxr-xr-x 501 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

include /usr/share/dpkg/buildtools.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all future=+lfs

build-arch   build-indep   build \
install-arch install-indep install \
binary-arch  binary-indep  binary \
:
	dh $@

override_dh_auto_build:
	dh_auto_build -- prefix=/usr \
	    CC="${CC}" CFLAGS="${CFLAGS}" CDEFS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
	    staticlib cdb sharedlib cdb-shared libcdb.pc # nss

override_dh_auto_install:
# nothing

clean:
	${MAKE} distclean
	dh_clean