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