File: rules

package info (click to toggle)
ibus-table-chinese 1.8.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 29,812 kB
  • sloc: sh: 106; makefile: 11
file content (22 lines) | stat: -rwxr-xr-x 476 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
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

# Building needs a writeable HOME dir
export HOME := $(CURDIR)/debian/fakehome

%:
	dh $@

override_dh_auto_configure:
	mkdir $(HOME) || true
	cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON

override_dh_missing:
	dh_missing --fail-missing

override_dh_install:
	# unnecessary doc files
	rm -rf debian/tmp/usr/share/doc/ibus-table-chinese-1.8.2
	dh_install