File: rules

package info (click to toggle)
ibus-typing-booster 2.30.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 141,128 kB
  • sloc: xml: 1,123,826; python: 46,964; sh: 5,183; makefile: 373; sed: 16
file content (15 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

%:
	dh $@

execute_after_dh_auto_install:
	# gzip'ing those files reduces the installed size significantly
	cd debian/ibus-typing-booster/usr/share/ibus-typing-booster/data; \
	    gzip *\.txt */*\.xml
	cd debian/ibus-typing-booster/usr; \
	    sed -i s,#!/usr/bin/sh,#!/bin/sh, bin/* libexec/*

execute_after_dh_clean:
	# fixes https://bugs.debian.org/1047486
	rm -rf engine/__pycache__ tests/__pycache__