File: rules

package info (click to toggle)
culmus-fancy 0.0.20140315-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 16,392 kB
  • sloc: sh: 52; makefile: 15
file content (26 lines) | stat: -rwxr-xr-x 764 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
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

%:
	dh $@

# Handle the multiple README files
override_dh_auto_build:
	@find * -name README -o -iname ChangeLog | \
	while read readme; do \
	  dirname=`dirname $$readme`; \
	  dir=debian/.build/docs/$$dirname; \
	  mkdir -p $$dir; \
	  cp -v $$readme $$dir/; \
	done
	rm -rf debian/.build/docs/debian

override_dh_install:
	dh_install
	# Due to: opentype-font-prohibits-installable-embedding [edit only]
	rm -f debian/culmus-fancy/usr/share/fonts/opentype/culmus-fancy/KtavYadCLM*.otf	

	# Sofar is included with the main culmus package:
	rm -f debian/culmus-fancy/usr/share/fonts/truetype/culmus-fancy/Shofar*.ttf