File: rules

package info (click to toggle)
delly 1.1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,640 kB
  • sloc: cpp: 11,734; makefile: 62; sh: 23
file content (19 lines) | stat: -rwxr-xr-x 472 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
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_CXXFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- BUILT_PROGRAMS="src/delly" PARALLEL=1
	chrpath -d  src/delly

override_dh_auto_install:
	# avoiding redundant compile of delly

override_dh_auto_clean:
	dh_auto_clean
	rm -rf src/dpe src/delly bin/delly