File: rules

package info (click to toggle)
fonts-kiloji 1%3A2.1.0-22
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,012 kB
  • sloc: sh: 43; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 452 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

%:
	dh  $@

# sadly, it supports only gz,  bz2,  lzma  and  xz.

override_dh_auto_build: 
	[ -d $(CURDIR)/kiloji ] || mkdir $(CURDIR)/kiloji
	for zipfile in `cd $(CURDIR) && ls *.zip` ;\
	  do TZ=UTC unzip -o $(CURDIR)/$$zipfile -d $(CURDIR)/kiloji ;\
	done

override_dh_auto_clean:
	-@rm -rf $(CURDIR)/kiloji

override_dh_builddeb:
	dh_builddeb -- -Zxz -Sextreme -z9