File: rules

package info (click to toggle)
libhangul 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,468 kB
  • sloc: ansic: 8,619; python: 631; xml: 402; makefile: 211; ruby: 26; sh: 14
file content (30 lines) | stat: -rwxr-xr-x 705 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

.PHONY: override_dh_autoreconf
override_dh_autoreconf:
	test -f ChangeLog || touch ChangeLog
	dh_autoreconf

CONFIGURE_FLAGS = --enable-external-keyboards

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)

.PHONY: override_dh_clean
override_dh_clean:
	if [ -f ChangeLog ] && ! [ -s ChangeLog ]; then \
	    rm  -f ChangeLog; \
	fi
	dh_clean

# The upstream distributes the git-based changelog, so we can't get that
# changelog when we directly use the upstream git..
.PHONY: override_dh_installchangelogs
override_dh_installchangelogs:
	dh_installchangelogs debian/changelog.upstream