File: rules

package info (click to toggle)
geogram 1.9.6-1
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 15,436 kB
  • sloc: cpp: 143,890; ansic: 10,098; perl: 1,430; sh: 1,199; yacc: 522; lex: 182; python: 157; javascript: 149; makefile: 17
file content (31 lines) | stat: -rwxr-xr-x 687 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
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

# I disable various non-optional things for now. Let's get the core library
# working first
override_dh_auto_configure:
	dh_auto_configure -- \
		-DGEOGRAM_WITH_HLBFGS=OFF \
		-DGEOGRAM_WITH_GRAPHICS=OFF \
		-DGEOGRAM_WITH_EXPLORAGRAM=OFF \
		-DGEOGRAM_WITH_TETGEN=OFF \
		-DGEOGRAM_WITH_TRIANGLE=ON \
		-DGEOGRAM_USE_SYSTEM_GLFW3=ON

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C obj-$(DEB_HOST_GNU_TYPE) doc-devkit-full


# to pacify dh_missing
override_dh_auto_install:
	dh_auto_install
	rm debian/tmp/usr/doc/geogram/VERSION.txt
	rmdir debian/tmp/usr/doc/geogram