source: data/Makefile @ 709fa13

qt5
Last change on this file since 709fa13 was 709fa13, checked in by uzakmat <uzakmat@…>, 12 years ago

installation of 40x40 icons enabled because of Diablo

  • Property mode set to 100644
File size: 1.4 KB
Line 
1# Makefile - install Maemo specific data files
2
3PKG             = fosdem-schedule
4ICON            = fosdem
5PREFIX          = $(INSTALL_ROOT)/usr/share
6INSTALL_FILE    = install -m 644 -p
7CHK_DIR         = test -d
8MKDIR           = mkdir -p
9
10.PHONY: install uninstall clean distclean
11
12all:
13
14install:
15        $(CHK_DIR) $(PREFIX)/applications/hildon/ || $(MKDIR) $(PREFIX)/applications/hildon/
16        $(INSTALL_FILE) ./maemo/$(PKG).desktop $(PREFIX)/applications/hildon/
17
18        $(CHK_DIR) $(PREFIX)/icons/hicolor/26x26/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/26x26/hildon/
19        $(INSTALL_FILE) ./26x26/$(ICON).png $(PREFIX)/icons/hicolor/26x26/hildon/
20
21        $(CHK_DIR) $(PREFIX)/icons/hicolor/48x48/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/48x48/hildon/
22        $(INSTALL_FILE) ./48x48/$(ICON).png $(PREFIX)/icons/hicolor/48x48/hildon/
23
24        $(CHK_DIR) $(PREFIX)/icons/hicolor/40x40/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/40x40/hildon/
25        $(INSTALL_FILE) ./40x40/$(ICON).png $(PREFIX)/icons/hicolor/40x40/hildon/
26
27        $(CHK_DIR) $(PREFIX)/icons/hicolor/64x64/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/64x64/hildon/
28        $(INSTALL_FILE) ./64x64/$(ICON).png $(PREFIX)/icons/hicolor/64x64/hildon/
29
30
31uninstall:
32        $(RM) $(PREFIX)/applications/hildon/$(PKG).desktop
33        $(RM) $(PREFIX)/icons/hicolor/26x26/hildon/$(ICON).png
34        $(RM) $(PREFIX)/icons/hicolor/40x40/hildon/$(ICON).png
35        $(RM) $(PREFIX)/icons/hicolor/48x48/hildon/$(ICON).png
36        $(RM) $(PREFIX)/icons/hicolor/64x64/hildon/$(ICON).png
37
38clean:
39
40distclean:
Note: See TracBrowser for help on using the repository browser.