File: rules

package info (click to toggle)
libgltf 0.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 2,768 kB
  • sloc: cpp: 7,677; sh: 4,231; makefile: 125; ansic: 108
file content (19 lines) | stat: -rwxr-xr-x 496 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
#DH_VERBOSE = 1

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

%:
	dh $@  --with autoreconf

# needs OpenGL working, we shouldn't and can't rely on $DISPLAY, though
# and xfvb-run doesn't work...
#ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
#ENABLE_TESTS := --enable-tests
#endif

override_dh_auto_configure:
	dh_auto_configure -- --enable-static --disable-werror $(ENABLE_TESTS)