File: rules

package info (click to toggle)
fam 2.7.0-17.3
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 520 kB
  • sloc: sh: 43; makefile: 21
file content (27 lines) | stat: -rwxr-xr-x 912 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

DEB_TAR_SRCDIR := fam-2.7.0
DEB_DH_INSTALL_SOURCEDIR := debian/tmp
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

include /usr/share/cdbs/1/rules/tarball.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_AUTOMAKE_ARGS := --add-missing
DEB_AUTO_UPDATE_LIBTOOL := pre
DEB_AUTO_UPDATE_ACLOCAL := 1.11
DEB_AUTO_UPDATE_AUTOMAKE := 1.11
DEB_AUTO_UPDATE_AUTOCONF := 2.50
DEB_UPDATE_RCD_PARAMS := "defaults 21"
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

DEB_CONFIGURE_USER_FLAGS := --with-pic=yes
CXXFLAGS = -g -Wall -O2 -Wno-sign-compare -Wno-deprecated \
	-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE

install/fam ::
	cp build-tree/fam-2.7.0/man/famd.conf.5 \
	  debian/tmp/usr/share/man/man5/fam.conf.5
	cp debian/fam.conf debian/tmp/etc/fam.conf