File: rules

package info (click to toggle)
bibclean 3.07-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,328 kB
  • sloc: ansic: 12,939; makefile: 2,371; awk: 122; sh: 24; sed: 10
file content (27 lines) | stat: -rwxr-xr-x 620 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
23
24
25
26
27
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
include /usr/share/dpkg/buildtools.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export CC
export FORCE_SOURCE_DATE=1

CONFIGURE_FLASE = --with-pager=/usr/bin/pager --with-fhs-rcfiles \
		--prefix=/usr --mandir=\$${prefix}/share/man

%:
	dh $@

override_dh_auto_configure:
	echo $(CFLAGS) " -> " $(CPPFLAGS)
	CFLAGS="$(CFLAGS) $(CPPFLAGS) " dh_auto_configure -- $(CONFIGURE_FLAGS)

override_dh_auto_build:
	dh_auto_build
	make -C ./doc bibclean.dvi