File: rules

package info (click to toggle)
re2c 2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 39,996 kB
  • sloc: cpp: 19,542; sh: 5,088; haskell: 604; makefile: 418; ansic: 102
file content (20 lines) | stat: -rwxr-xr-x 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-docs

execute_after_dh_installexamples:
	rm -f debian/re2c/usr/share/doc/re2c/examples/c/__run_all.sh
	rm -f debian/re2c/usr/share/doc/re2c/examples/go/__run_all.sh

execute_after_dh_auto_test:
	# ensure failed tests are visible in the buildlog
	/bin/sh -c 'cat test-suite.log || true'