File: rules

package info (click to toggle)
karlyriceditor 1.11-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,656 kB
  • sloc: cpp: 10,041; sh: 81; makefile: 12
file content (28 lines) | stat: -rwxr-xr-x 470 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

export DEB_BUILD_MAINT_OPTIONS:=hardening=+all

# Use qt4's qmake executable
export QMAKE:="qmake-qt4"


%:
	dh $@


# We call qmake explicitly (instead of letting dh do the work) in
# order to make sure we use the qmake binary specified in $(QMAKE)
override_dh_auto_configure: Makefile

Makefile:
	$(QMAKE)
	$(MAKE) qmake


MANPAGES := debian/karlyriceditor.1

override_dh_auto_build: $(MANPAGES)

debian/%.1: debian/%.sgml
	docbook-to-man $< > $@