Parent Directory | Revision Log
Initial import
1 | # |
2 | # Copyright (C) 2008 Till Harbaum <till@harbaum.org>. |
3 | # |
4 | # This file is part of OSM2Go. |
5 | # |
6 | # OSM2Go is free software: you can redistribute it and/or modify |
7 | # it under the terms of the GNU General Public License as published by |
8 | # the Free Software Foundation, either version 3 of the License, or |
9 | # (at your option) any later version. |
10 | # |
11 | # OSM2Go is distributed in the hope that it will be useful, |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | # GNU General Public License for more details. |
15 | # |
16 | # You should have received a copy of the GNU General Public License |
17 | # along with OSM2Go. If not, see <http://www.gnu.org/licenses/>. |
18 | # |
19 | |
20 | APP = osm2go |
21 | PREFIX = /usr |
22 | |
23 | install: |
24 | install $(APP).desktop $(DESTDIR)$(PREFIX)/share/applications/hildon |
25 | install $(APP).26.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/26x26/hildon/$(APP).png |
26 | install $(APP).40.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/40x40/hildon/$(APP).png |
27 | install $(APP).64.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/hildon/$(APP).png |
28 | install -d $(DESTDIR)$(PREFIX)/share/$(APP) |
29 | install -m 644 *.txt $(DESTDIR)$(PREFIX)/share/$(APP) |
30 | install -m 644 *.xml $(DESTDIR)$(PREFIX)/share/$(APP) |
31 | install -m 644 *.style $(DESTDIR)$(PREFIX)/share/$(APP) |
32 | for f in `find icons -name "*.png"`; do \ |
33 | install -D -m 644 $$f $(DESTDIR)$(PREFIX)/share/$(APP)/$$f ; \ |
34 | done; |
35 | |
36 | clean: |
37 | rm -f *~ \#*\# *.bak |