File: rules

package info (click to toggle)
libsocialcache 0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,164 kB
  • sloc: cpp: 16,263; makefile: 21
file content (34 lines) | stat: -rwxr-xr-x 683 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f
# -*- makefile -*-

NULL =

export DPKG_GENSYMBOLS_CHECK_LEVEL=1

export QT_SELECT := qt5

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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
	    CONFIG+=nodeps \
	    $(NULL)

override_dh_auto_clean:
	dh_auto_clean
	rm -f src/qml/socialcache_eng_en.qm \
	      src/qml/socialcache.ts \
	      $(NULL)

dh_auto_clean:
	-mv libsocialcache/src/qml/socialcache.ts.bak libsocialcache/src/qml/socialcache.ts

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..