Contents of /trunk/data/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 180 - (show annotations)
Fri Nov 13 12:11:00 2009 UTC (14 years, 5 months ago) by harbaum
File size: 1728 byte(s)
More icon work
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 ICON_SIZES = 16x16 32x32 48x48 64x64
11
12 all:
13
14 clean:
15
16 install-debian:
17 # install -m 644 help/gpxview.html $(DESTDIR)$(prefix)/share/$(APP)
18
19 install-maemo:
20 # the path to /share is hardcoded since datapath points to /opt on fremantle
21 install -d $(DESTDIR)$(prefix)/share/applications/hildon
22 install $(APP).desktop $(DESTDIR)$(prefix)/share/applications/hildon
23 for s in 40 26; do \
24 install -d $(DESTDIR)$(prefix)/share/icons/hicolor/$${s}x$${s}/hildon ;\
25 install -m 644 $(APP).$$s.png $(DESTDIR)$(prefix)/share/icons/hicolor/$${s}x$${s}/hildon/$(APP).png ;\
26 done
27 install -d $(DESTDIR)$(prefix)/share/icons/hicolor/scalable/hildon
28 install -m 644 $(APP).64.png $(DESTDIR)$(prefix)/share/icons/hicolor/scalable/hildon/$(APP).png
29 if [ $(MAEMO_VERSION_MAJOR) -lt 5 ]; then \
30 echo "Installing hildon help files"; \
31 for LANG in $(LANGS_HELP); do \
32 install -d $(DESTDIR)$(prefix)/share/osso-help/$${LANG} ;\
33 install -m 644 ../help/$${LANG}/*.xml $(DESTDIR)$(prefix)/share/osso-help/$${LANG} ;\
34 done;\
35 fi
36
37 install: @INSTALL_PLATTFORM@
38 install -d $(DESTDIR)$(datadir)/$(APP)
39 install -m 644 welcome.gpx icons/*.gif icons/*.png $(DESTDIR)$(datadir)/$(APP);
40 for SIZE in $(ICON_SIZES); do \
41 install -d $(DESTDIR)$(datadir)/$(APP)/$${SIZE} ;\
42 install -m 644 icons/$${SIZE}/*.png $(DESTDIR)$(datadir)/$(APP)/$${SIZE};\
43 done
44 for LANG in $(LANGS); do \
45 install -d $(DESTDIR)$(prefix)/share/locale/$${LANG}/LC_MESSAGES ;\
46 msgfmt ../po/$${LANG}.po -o $(DESTDIR)$(prefix)/share/locale/$${LANG}/LC_MESSAGES/$(APP).mo ;\
47 done
48