File: rules

package info (click to toggle)
hunspell-ar 3.5.2014-11-08-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,272 kB
  • sloc: makefile: 11
file content (26 lines) | stat: -rwxr-xr-x 627 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
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

execute_before_dh_auto_build:
	# Make temporary copies of the ar files.
	cp ar.aff ar-temp.aff
	cp ar.dic ar-temp.dic

	# Remove the IGNORE command from the temp files because it is not supported by convert-bdic.
	# See more about this at https://bugreports.qt.io/browse/QTBUG-107600
	sed -i 's/^IGNORE/#IGNORE/' ar-temp.aff

	# Build the .bidc binary dictionary.
	convert-bdic ar-temp.dic ar.bdic

	# Remove the temporary ar files.
	rm ar-temp.aff
	rm ar-temp.dic

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog-ar