source: data/Makefile @ 0bb39f5

qt5
Last change on this file since 0bb39f5 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
RevLine 
[53fa43c]1# Makefile - install Maemo specific data files
[0c658c1]2
[53fa43c]3PKG             = fosdem
4PREFIX          = $(INSTALL_ROOT)/usr/share
5INSTALL_FILE    = install -m 644 -p
[6dc0dbc]6CHK_DIR         = test -d
[53fa43c]7MKDIR           = mkdir -p
[0c658c1]8
[53fa43c]9.PHONY: install uninstall clean distclean
[0c658c1]10
[53fa43c]11all:
[0c658c1]12
[53fa43c]13install:
14        $(CHK_DIR) $(PREFIX)/applications/hildon/ || $(MKDIR) $(PREFIX)/applications/hildon/
15        $(INSTALL_FILE) ./maemo/$(PKG).desktop $(PREFIX)/applications/hildon/
[0c658c1]16
[53fa43c]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/
[0c658c1]19
[53fa43c]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/
[0c658c1]22
[e89b296]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
[0c658c1]26
[53fa43c]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
[e89b296]31        $(RM) $(PREFIX)/icons/hicolor/64x64/hildon/$(PKG).png
[0c658c1]32
[53fa43c]33clean:
[0c658c1]34
[e89b296]35distclean:
Note: See TracBrowser for help on using the repository browser.