File: rules

package info (click to toggle)
loook 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 168 kB
  • sloc: python: 459; sh: 59; makefile: 22
file content (35 lines) | stat: -rwxr-xr-x 952 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
27
28
29
30
31
32
33
34
35
#!/usr/bin/make -f
# -*- makefile -*-

export DH_VERBOSE=1
export DH_OPTIONS=-v

%:
	dh $@

override_dh_install:
	cd $(CURDIR)/debian/loook/usr/bin && \
		cp $(CURDIR)/loook.py loook

	cd $(CURDIR)/debian/loook/usr/share/locale/de/LC_MESSAGES && \
		msgfmt $(CURDIR)/loook.de.po -o loook.mo

	cd $(CURDIR)/debian/loook/usr/share/locale/en/LC_MESSAGES && \
		msgfmt $(CURDIR)/loook.en.po -o loook.mo

	cd $(CURDIR)/debian/loook/usr/share/locale/nl/LC_MESSAGES && \
		msgfmt $(CURDIR)/loook.nl.po -o loook.mo

	cd $(CURDIR)/debian/loook/usr/share/locale/es/LC_MESSAGES && \
		msgfmt $(CURDIR)/loook.es.po -o loook.mo

	cd $(CURDIR)/debian/loook/usr/share/locale/it/LC_MESSAGES && \
		msgfmt $(CURDIR)/loook.it.po -o loook.mo

	cd $(CURDIR)/debian/loook/usr/share/locale/cs/LC_MESSAGES && \
		msgfmt $(CURDIR)/loook.cs.po -o loook.mo

	cd $(CURDIR)/debian/loook/usr/share/locale/fr/LC_MESSAGES && \
		msgfmt $(CURDIR)/loook.fr.po -o loook.mo

	dh_install