Parent Directory | Revision Log
Added finish translation
1 | harbaum | 1 | APP = @PACKAGE@ |
2 | PREFIX = @prefix@ | ||
3 | datadir = @datarootdir@ | ||
4 | |||
5 | harbaum | 25 | LANGS = en_GB de_DE fi_FI |
6 | LANGS_HELP = en_GB de_DE | ||
7 | harbaum | 1 | |
8 | all: | ||
9 | |||
10 | clean: | ||
11 | |||
12 | install-debian: | ||
13 | # install -m 644 help/gpxview.html $(DESTDIR)$(PREFIX)/share/$(APP) | ||
14 | |||
15 | install-maemo: | ||
16 | install -d $(DESTDIR)$(PREFIX)$(datadir)/applications/hildon | ||
17 | install $(APP).desktop $(DESTDIR)$(PREFIX)$(datadir)/applications/hildon | ||
18 | for s in 40 26; do \ | ||
19 | install -d $(DESTDIR)$(PREFIX)$(datadir)/icons/hicolor/$${s}x$${s}/hildon ;\ | ||
20 | install -m 644 $(APP).$$s.png $(DESTDIR)$(PREFIX)$(datadir)/icons/hicolor/$${s}x$${s}/hildon/$(APP).png ;\ | ||
21 | done | ||
22 | install -d $(DESTDIR)$(PREFIX)$(datadir)/icons/hicolor/scalable/hildon | ||
23 | install -m 644 $(APP).64.png $(DESTDIR)$(PREFIX)$(datadir)/icons/hicolor/scalable/hildon/$(APP).png | ||
24 | harbaum | 25 | for LANG in $(LANGS_HELP); do \ |
25 | harbaum | 1 | install -d $(DESTDIR)$(PREFIX)/share/osso-help/$${LANG} ;\ |
26 | install -m 644 ../help/$${LANG}/*.xml $(DESTDIR)$(PREFIX)/share/osso-help/$${LANG} ;\ | ||
27 | done | ||
28 | |||
29 | install: @INSTALL_PLATTFORM@ | ||
30 | install -d $(DESTDIR)$(PREFIX)/share/$(APP) | ||
31 | install -m 644 icons/*.gif icons/*.png $(DESTDIR)$(PREFIX)/share/$(APP) | ||
32 | harbaum | 13 | install -m 644 welcome.gpx icons/*.png $(DESTDIR)$(PREFIX)/share/$(APP) |
33 | harbaum | 1 | for LANG in $(LANGS); do \ |
34 | install -d $(DESTDIR)$(PREFIX)/share/locale/$${LANG}/LC_MESSAGES ;\ | ||
35 | msgfmt ../po/$${LANG}.po -o $(DESTDIR)$(PREFIX)/share/locale/$${LANG}/LC_MESSAGES/$(APP).mo ;\ | ||
36 | done | ||
37 |