X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/blobdiff_plain/0c658c1781ac9e6fb1b4f0fa8e773859306236b4..59673b9c09c659d56dd1c712c5e34750e5a9b940:/data/Makefile diff --git a/data/Makefile b/data/Makefile index d7f7cb1..c5a1429 100644 --- a/data/Makefile +++ b/data/Makefile @@ -1,9 +1,10 @@ # Makefile - install Maemo specific data files -PKG = fosdem +PKG = fosdem-schedule +ICON = fosdem PREFIX = $(INSTALL_ROOT)/usr/share INSTALL_FILE = install -m 644 -p -CHK_DIR = test -d +CHK_DIR = test -d MKDIR = mkdir -p .PHONY: install uninstall clean distclean @@ -15,17 +16,25 @@ install: $(INSTALL_FILE) ./maemo/$(PKG).desktop $(PREFIX)/applications/hildon/ $(CHK_DIR) $(PREFIX)/icons/hicolor/26x26/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/26x26/hildon/ - $(INSTALL_FILE) ./26x26/$(PKG).png $(PREFIX)/icons/hicolor/26x26/hildon/ + $(INSTALL_FILE) ./26x26/$(ICON).png $(PREFIX)/icons/hicolor/26x26/hildon/ $(CHK_DIR) $(PREFIX)/icons/hicolor/48x48/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/48x48/hildon/ - $(INSTALL_FILE) ./48x48/$(PKG).png $(PREFIX)/icons/hicolor/48x48/hildon/ + $(INSTALL_FILE) ./48x48/$(ICON).png $(PREFIX)/icons/hicolor/48x48/hildon/ + + $(CHK_DIR) $(PREFIX)/icons/hicolor/40x40/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/40x40/hildon/ + $(INSTALL_FILE) ./40x40/$(ICON).png $(PREFIX)/icons/hicolor/40x40/hildon/ + + $(CHK_DIR) $(PREFIX)/icons/hicolor/64x64/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/64x64/hildon/ + $(INSTALL_FILE) ./64x64/$(ICON).png $(PREFIX)/icons/hicolor/64x64/hildon/ uninstall: $(RM) $(PREFIX)/applications/hildon/$(PKG).desktop - $(RM) $(PREFIX)/icons/hicolor/26x26/hildon/$(PKG).png - $(RM) $(PREFIX)/icons/hicolor/48x48/hildon/$(PKG).png + $(RM) $(PREFIX)/icons/hicolor/26x26/hildon/$(ICON).png + $(RM) $(PREFIX)/icons/hicolor/40x40/hildon/$(ICON).png + $(RM) $(PREFIX)/icons/hicolor/48x48/hildon/$(ICON).png + $(RM) $(PREFIX)/icons/hicolor/64x64/hildon/$(ICON).png clean: -distclean: \ No newline at end of file +distclean: