3
# Uncomment this to turn on verbose mode.
6
PKGNAME=$(shell grep "^Package: " debian/control | head -1 | cut -f 2 -d\ )
7
PKG=$(shell pwd)/debian/$(PKGNAME)
8
LOCALEDIR=$(PKG)/usr/share/locale-langpack
26
find -type d -exec mkdir -p "$(LOCALEDIR)/{}" \; ; \
27
find -type f -name "*.po" -exec sh -c "N='{}'; msgfmt -o $(LOCALEDIR)/\$${N%.po}.mo \$$N" \;
29
[ ! -e data/extra.tar ] || tar -C $(PKG) -xf data/extra.tar
32
dh_installchangelogs -i
38
dh_builddeb -i -- -Z bzip2
40
binary: binary-arch binary-indep
42
.PHONY: build clean binary-indep binary-arch binary