Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 include /usr/share/dpkg/architecture.mk
5 include /usr/share/dpkg/buildtools.mk
6 export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG
7
8 %:
9 dh $@
10
11 ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
12 override_dh_auto_configure:
13 $(CXX_FOR_BUILD) glsl/shader-bundle-tool.cc -o debian/shader-bundle-tool
14 dh_auto_configure -- -DSHADER_BUNDLE_TOOL_EXECUTABLE=$(CURDIR)/debian/shader-bundle-tool
15 endif
16
17 override_dh_auto_test:
18 # Cannot run tests without a X11 server (with VAAPI support)
19
20 override_dh_makeshlibs:
21 dh_makeshlibs -n
22
23 override_dh_auto_install:
24 dh_auto_install
25 mkdir -p debian/libvdpau-va-gl1/usr/lib/$(DEB_HOST_MULTIARCH)
26 mv debian/libvdpau-va-gl1/usr/lib/vdpau \
27 debian/libvdpau-va-gl1/usr/lib/$(DEB_HOST_MULTIARCH)/.