source: data/Makefile @ f5d27c7

qt5
Last change on this file since f5d27c7 was f5d27c7, checked in by uzakmat <uzakmat@…>, 13 years ago

package details updated to reflect the binary name change to fosdem-maemo

  • Property mode set to 100644
File size: 1.2 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/64x64/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/64x64/hildon/
25        $(INSTALL_FILE) ./64x64/$(ICON).png $(PREFIX)/icons/hicolor/64x64/hildon/
26
27
28uninstall:
29        $(RM) $(PREFIX)/applications/hildon/$(PKG).desktop
30        $(RM) $(PREFIX)/icons/hicolor/26x26/hildon/$(ICON).png
31        $(RM) $(PREFIX)/icons/hicolor/48x48/hildon/$(ICON).png
32        $(RM) $(PREFIX)/icons/hicolor/64x64/hildon/$(ICON).png
33
34clean:
35
36distclean:
Note: See TracBrowser for help on using the repository browser.