Contents of /trunk/data/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 112 - (show annotations)
Fri Mar 6 13:41:08 2009 UTC (15 years, 3 months ago) by harbaum
File size: 1599 byte(s)
Maemo 5.0alpha compile fixes
1 TEMPLATE_ELEMSTYLES=elemstyles-mapnik.xml
2 APP = @PACKAGE@
3 PREFIX = @prefix@
4
5 all: $(TEMPLATE_ELEMSTYLES)
6
7 elemstyles-mapnik.xml: elemstyles-mapnik.xml.in
8 perl ./compose-elemstyles.pl 0.4 '#f2eee8' $+ > $@.tmp
9 mv $@.tmp $@
10
11 clean:
12 rm -f $(TEMPLATE_ELEMSTYLES)
13
14 install-debian:
15 install -d $(DESTDIR)$(PREFIX)/share/applications
16 install $(APP)-ubuntu.desktop $(DESTDIR)$(PREFIX)/share/applications/$(APP).desktop
17 install -d $(DESTDIR)$(PREFIX)/share/pixmaps
18 install $(APP).64.png $(DESTDIR)$(PREFIX)/share/pixmaps/$(APP).png
19
20
21 install-maemo:
22 install -d $(DESTDIR)$(PREFIX)/share/applications/hildon
23 install $(APP).desktop $(DESTDIR)$(PREFIX)/share/applications/hildon
24 install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/26x26/hildon
25 install $(APP).26.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/26x26/hildon/$(APP).png
26 install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/40x40/hildon
27 install $(APP).40.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/40x40/hildon/$(APP).png
28 install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/hildon
29 install $(APP).64.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/hildon/$(APP).png
30
31
32 install: @INSTALL_PLATTFORM@ $(TEMPLATE_ELEMSTYLES)
33 install -d $(DESTDIR)$(PREFIX)/share/$(APP)
34 install -m 644 *.txt $(DESTDIR)$(PREFIX)/share/$(APP)
35 install -m 644 *.xml $(DESTDIR)$(PREFIX)/share/$(APP)
36 install -m 644 *.style $(DESTDIR)$(PREFIX)/share/$(APP)
37 for f in `find icons -name "*.png"`; do \
38 install -d $(DESTDIR)$(PREFIX)/share/$(APP)/`dirname $$f` ;\
39 install -m 644 $$f $(DESTDIR)$(PREFIX)/share/$(APP)/$$f ;\
40 done;
41
42 distclean: clean