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