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