File: rules

package info (click to toggle)
svn-all-fast-export 1.0.18%2Bgit20200501-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 516 kB
  • sloc: cpp: 3,184; sh: 95; makefile: 12
file content (28 lines) | stat: -rwxr-xr-x 673 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

#export DH_VERBOSE=1

# Enable additional hardening options for the binaries
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Build with Qt5
export QT_SELECT=5

%:
	dh  $@

override_dh_auto_configure:
	dh_auto_configure -- VERSION=$(DEB_VERSION_UPSTREAM)

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream-changelog

# Make the changelog from the upstream git repository cloned into
# the "upstream-devel" branch. Update debian/changelog and make sure
# that the upstream-devel branch is up-to-date first.
changelog:
	git log upstream-devel/master > debian/upstream-changelog

.PHONY: changelog