File: rules

package info (click to toggle)
qt-color-widgets 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,088 kB
  • sloc: cpp: 7,426; sh: 236; makefile: 14
file content (24 lines) | stat: -rwxr-xr-x 640 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
#!/usr/bin/make -f
# -*- makefile -*-

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

# Increase hardening to maximum, considering attack surface
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DBUILD_SHARED_LIBS=ON \
		-DBUILD_STATIC_LIBS=OFF \
		-DQTCOLORWIDGETS_BUILD_STATIC_LIBS=OFF \
		-DQTCOLORWIDGETS_DESIGNER_PLUGIN=ON \
		-DCOLOR_WIDGETS_QT_SUFFIX=OFF

override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/tmp/usr/share/doc/libqt-color-widgets-dev/examples
	cp debian/build-gallery debian/tmp/usr/share/doc/libqt-color-widgets-dev/examples