File: rules

package info (click to toggle)
sasm 3.15.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,328 kB
  • sloc: cpp: 7,398; pascal: 1,596; asm: 226; ansic: 81; makefile: 19
file content (31 lines) | stat: -rwxr-xr-x 703 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
25
26
27
28
29
30
31
#!/usr/bin/make -f
#export DH_VERBOSE = 1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic

export QTDIR=/usr/share/qt5
export QT_SELECT=qt5

%:
	dh $@

override_dh_auto_build:
	lrelease *.ts
	pandoc -f markdown -t html helpENG.md > helpENG.html
	pandoc -f markdown -t html help.md > help.html
	dh_auto_build

override_dh_installchangelogs:
	dh_installchangelogs
	gunzip debian/sasm/usr/share/doc/sasm/changelog.gz
	gzip -9 debian/sasm/usr/share/doc/sasm/changelog

override_dh_auto_clean:
	dh_auto_clean
	rm -f *.qm
	rm -f *.html