File: rules

package info (click to toggle)
nvidia-texture-tools 2.0.8-1+dfsg-8.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,272 kB
  • ctags: 4,592
  • sloc: cpp: 22,495; ansic: 1,097; sh: 61; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 546 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

DEB_DEBIAN_DIR=$(dir $(firstword $(MAKEFILE_LIST)))
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS)
CXXFLAGS+=$(CPPFLAGS)

%:
	dh $@

override_dh_auto_configure:
	cmake -DNVTT_SHARED=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DLIB_DIR_PATH=lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`

override_dh_installdocs:
	dh_installdocs --link-doc=libnvtt2

get-orig-source:
	uscan --noconf --force-download --rename --repack --download-current-version --destdir=$(DEB_DEBIAN_DIR)/..