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