source: data/Makefile @ 7da2b49

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

postinst and postrm scripts added into the debian tree

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