source: data/Makefile @ b8fda99

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

Addition of files required for a Debian package and Maemo specific files

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