]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - data/Makefile
Addition of files required for a Debian package and Maemo specific files
[toast/confclerk.git] / data / Makefile
diff --git a/data/Makefile b/data/Makefile
new file mode 100644 (file)
index 0000000..d7f7cb1
--- /dev/null
@@ -0,0 +1,31 @@
+# Makefile - install Maemo specific data files 
+
+PKG            = fosdem
+PREFIX         = $(INSTALL_ROOT)/usr/share
+INSTALL_FILE   = install -m 644 -p
+CHK_DIR        = test -d
+MKDIR          = mkdir -p
+
+.PHONY: install uninstall clean distclean
+
+all:
+
+install: 
+       $(CHK_DIR) $(PREFIX)/applications/hildon/ || $(MKDIR) $(PREFIX)/applications/hildon/ 
+       $(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/
+
+       $(CHK_DIR) $(PREFIX)/icons/hicolor/48x48/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/48x48/hildon/ 
+       $(INSTALL_FILE) ./48x48/$(PKG).png $(PREFIX)/icons/hicolor/48x48/hildon/
+
+
+uninstall:
+       $(RM) $(PREFIX)/applications/hildon/$(PKG).desktop
+       $(RM) $(PREFIX)/icons/hicolor/26x26/hildon/$(PKG).png
+       $(RM) $(PREFIX)/icons/hicolor/48x48/hildon/$(PKG).png
+
+clean:
+
+distclean:
\ No newline at end of file