File: rules

package info (click to toggle)
gnome-shell-timer 0.3.20+20171025-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 332 kB
  • sloc: python: 237; xml: 72; sh: 51; makefile: 16
file content (21 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
#!/usr/bin/make -f

%:
	dh $@ --with python3

override_dh_auto_clean:
	rm -f po/*/gnome-shell-timer.mo

override_dh_auto_build:
	for po in po/*/gnome-shell-timer.po; do \
	    msgfmt -cv -o $${po%.po}.mo $$po; \
	done

override_dh_auto_install:
	for mo in po/*/gnome-shell-timer.mo; do \
	    lang=$$(basename $$(dirname $$mo)); \
	    mkdir -p debian/gnome-shell-timer/usr/share/locale/$$lang/LC_MESSAGES; \
	    cp $$mo debian/gnome-shell-timer/usr/share/locale/$$lang/LC_MESSAGES/; \
	done
	mkdir -p debian/gnome-shell-timer/usr/bin/
	cp gnome-shell-timer-config.py debian/gnome-shell-timer/usr/bin/gnome-shell-timer-config