Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 export DEB_BUILD_HARDENING=1
13 export QT_SELECT=qt5
14
15 %:
16 dh $@
17
18 override_dh_auto_clean:
19 dh_auto_clean
20 # remove generated translation files
21 rm -f *.qm
22
23 override_dh_auto_configure:
24 dh_auto_configure -- collatinus.pro
25
26 override_dh_auto_build:
27 dh_auto_build
28 # release the translation files as .qm format
29 for f in *.ts; do lrelease $$f; done