File: rules

package info (click to toggle)
gimagereader 3.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,148 kB
  • sloc: cpp: 29,313; xml: 376; sh: 282; python: 70; makefile: 42
file content (26 lines) | stat: -rwxr-xr-x 757 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -Bbuild-gtk -- -DINTERFACE_TYPE=gtk -DENABLE_VERSIONCHECK=0 -DMANUAL_DIR="/usr/share/doc/gimagereader-common"
	dh_auto_configure -Bbuild-qt5 -- -DINTERFACE_TYPE=qt5 -DENABLE_VERSIONCHECK=0 -DMANUAL_DIR="/usr/share/doc/gimagereader-common"

override_dh_auto_build:
	dh_auto_build -Dbuild-gtk
	dh_auto_build -Dbuild-qt5

override_dh_auto_install:
	dh_auto_install -Dbuild-gtk
	dh_auto_install -Dbuild-qt5

override_dh_install:
	dh_install --list-missing

override_dh_strip:
	dh_strip --dbg-package=gimagereader-dbg

.PHONY: override_dh_auto_configure override_dh_auto_build override_dh_install override_dh_install override_dh_strip