File: rules

package info (click to toggle)
tao-pegtl 2.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,304 kB
  • sloc: cpp: 19,069; makefile: 90
file content (20 lines) | stat: -rwxr-xr-x 554 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
# You must remove unused comment lines for the released package.
#export DH_VERBOSE = 1
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export CXX=g++-9

%:
	dh $@ --buildsystem=cmake

override_dh_auto_install:
	dh_auto_install
	find ./debian -type f -name "LICENSE" -delete
	find ./debian -type d -empty -delete

#override_dh_auto_configure:
#	dh_auto_configure -- \
#	      -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)"