Parent Directory | Revision Log
/opt-imized
1 | APP = @PACKAGE@ |
2 | prefix = @prefix@ |
3 | datarootdir = @datarootdir@ |
4 | datadir = @datarootdir@ |
5 | |
6 | LANGS = en_GB de_DE fi_FI |
7 | LANGS_HELP = en_GB de_DE fi_FI |
8 | |
9 | all: |
10 | |
11 | clean: |
12 | |
13 | install-debian: |
14 | # install -m 644 help/gpxview.html $(DESTDIR)$(prefix)/share/$(APP) |
15 | |
16 | install-maemo: |
17 | # 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 | for s in 40 26; do \ |
21 | 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 | done |
24 | 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 | for LANG in $(LANGS_HELP); do \ |
27 | install -d $(DESTDIR)$(prefix)/share/osso-help/$${LANG} ;\ |
28 | install -m 644 ../help/$${LANG}/*.xml $(DESTDIR)$(prefix)/share/osso-help/$${LANG} ;\ |
29 | done |
30 | |
31 | install: @INSTALL_PLATTFORM@ |
32 | 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 | for LANG in $(LANGS); do \ |
36 | 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 | done |
39 |