File: rules

package info (click to toggle)
fossil 1%3A1.37-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 27,724 kB
  • ctags: 36,389
  • sloc: ansic: 262,197; tcl: 12,607; sh: 5,560; makefile: 3,572; asm: 3,071; ada: 1,681; pascal: 1,139; cpp: 1,001; cs: 879; sql: 376; perl: 224; xml: 95
file content (31 lines) | stat: -rwxr-xr-x 919 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
28
29
30
31
#!/usr/bin/make -f

DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_BUILD_MAINT_OPTIONS
include /usr/share/dpkg/architecture.mk

%:
	dh $@ --with autotools-dev --with bash-completion

override_dh_auto_configure:
	dh_auto_configure -- --disable-option-checking \
			     --disable-internal-sqlite --json \
			     --with-th1-docs --with-th1-hooks \
			     --with-tcl=/usr/lib/$(DEB_HOST_MULTIARCH) \
			     --with-tcl-stubs

# From src/main.mk:
#
# WARNING. DANGER. Running the test suite modifies the repository the
# build is done from, i.e. the checkout belongs to. Do not sync/push
# the repository after running the tests.

override_dh_auto_test:
	@echo skipping test due to scary warning in src/main.mk

# Currently, test fails for json.  Needs to be investigated.

override_dh_installdocs:
	dh_installdocs
	mv debian/fossil/usr/share/doc/fossil/changes.wiki \
	   debian/fossil/usr/share/doc/fossil/changelog