File: rules

package info (click to toggle)
quickfix 1.15.1%2Bdfsg-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 42,080 kB
  • sloc: cpp: 631,686; python: 129,549; ruby: 106,716; xml: 43,737; ansic: 7,668; java: 1,826; cs: 816; makefile: 544; sh: 462; sql: 313
file content (40 lines) | stat: -rwxr-xr-x 980 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
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/make -f
# -*- makefile -*-
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1


# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CXXFLAGS_MAINT_APPEND=-DENABLE_BOOST_ATOMIC_COUNT

%:
	dh $@

override_dh_autoreconf:
	touch INSTALL ChangeLog
	dh_autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --without-java --without-python --without-ruby --with-openssl
	# Restore empty lib/ directory used by upstream build system
	mkdir $(CURDIR)/lib

override_dh_auto_build:
	dh_auto_build
	(cd $(CURDIR)/doc ; ./document.sh)

override_dh_clean:
	dh_clean
	rm -rf INSTALL ChangeLog $(CURDIR)/lib

override_dh_fixperms:
	dh_fixperms
	find $(CURDIR)/debian \( -name Market.cpp -o -name '*.bat' \) -exec chmod 644 {} \;