Contents of /trunk/data/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 154 - (show annotations)
Tue Nov 3 07:36:35 2009 UTC (14 years, 6 months ago) by harbaum
File size: 1576 byte(s)
Disabled help file installtion on fremantle
1 APP = @PACKAGE@
2 MAEMO_VERSION_MAJOR = @MAEMO_VERSION_MAJOR@
3 prefix = @prefix@
4 datarootdir = @datarootdir@
5 datadir = @datarootdir@
6
7 LANGS = en_GB de_DE fi_FI
8 LANGS_HELP = en_GB de_DE fi_FI
9
10 all:
11
12 clean:
13
14 install-debian:
15 # install -m 644 help/gpxview.html $(DESTDIR)$(prefix)/share/$(APP)
16
17 install-maemo:
18 # 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 for s in 40 26; do \
22 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 done
25 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 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
35 install: @INSTALL_PLATTFORM@
36 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 for LANG in $(LANGS); do \
40 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 done
43