File: rules

package info (click to toggle)
openmesh 9.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 15,880 kB
  • sloc: cpp: 54,986; ansic: 5,208; perl: 1,374; sh: 119; makefile: 18
file content (32 lines) | stat: -rwxr-xr-x 572 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
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DOPENMESH_DOCS=ON \
		-DBUILD_APPS=ON \
		-DOpenGL_GL_PREFERENCE=GLVND

override_dh_auto_build-arch:
	dh_auto_build -a

override_dh_auto_build-indep:
	$(MAKE) -C obj-$(DEB_HOST_GNU_TYPE) doc

override_dh_auto_test-indep:
	true

override_dh_auto_install-arch:
	dh_auto_install
	for f in debian/tmp/usr/bin/*; do mv $$f `dirname $$f`/OpenMesh-`basename $$f`; done

override_dh_auto_install-indep:
	true