File: rules

package info (click to toggle)
nvidia-texture-tools 2.0.8-1%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,136 kB
  • ctags: 4,216
  • sloc: cpp: 22,490; ansic: 1,093; sh: 59; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 546 bytes parent folder | download | duplicates (4)
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)/..