File: rules

package info (click to toggle)
hepmc3 3.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 14,116 kB
  • sloc: fortran: 66,849; cpp: 13,604; ansic: 1,374; xml: 109; sh: 72; makefile: 33
file content (34 lines) | stat: -rwxr-xr-x 699 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
32
33
34
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS  = hardenning=+all
export DEB_LDFLGAS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ -Scmake

#We don't have root6 on Debian
override_dh_auto_configure:
	dh_auto_configure -- \
		-DHEPMC3_ENABLE_ROOTIO=OFF \
		-DHEPMC3_ENABLE_TEST=ON \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_SKIP_INSTALL_RPATH=ON \
		-DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_auto_build-arch:
	dh_auto_build

override_dh_auto_build-indep:
	cd doc/doxygen; doxygen Doxyfile

override_dh_auto_test-arch:
	dh_auto_test

override_dh_auto_test-indep:
	true

override_dh_installdocs-arch:
	dh_installdocs

override_dh_installdocs-indep:
	dh_installdocs
	dh_doxygen