summaryrefslogtreecommitdiff
path: root/sysui/desktop/solaris/makefile.mk
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-09-09 08:09:16 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-09-09 08:09:16 +0000
commitf3ce4463e7254551c68819252b5b79144550f993 (patch)
tree1d19ffcfe85e5819b4a3a966e796a394d3133bdc /sysui/desktop/solaris/makefile.mk
parentf75aea8693ccf48ecb90dff4bb44aa825da319ad (diff)
INTEGRATION: CWS oasissysint (1.4.12); FILE MERGED
2004/08/27 14:00:07 obr 1.4.12.1: #i32277# added mimetype registration for new oasis file types
Diffstat (limited to 'sysui/desktop/solaris/makefile.mk')
-rw-r--r--sysui/desktop/solaris/makefile.mk24
1 files changed, 21 insertions, 3 deletions
diff --git a/sysui/desktop/solaris/makefile.mk b/sysui/desktop/solaris/makefile.mk
index f50580f3b753..e055e60f80bf 100644
--- a/sysui/desktop/solaris/makefile.mk
+++ b/sysui/desktop/solaris/makefile.mk
@@ -71,7 +71,7 @@ TARGET=solaris
# --- Files --------------------------------------------------------
-LAUNCHERLIST = writer calc draw impress math printeradmin
+LAUNCHERLIST = writer calc draw impress math base printeradmin
LAUNCHERDEPN = ../menus/{$(LAUNCHERLIST)}.desktop
LAUNCHERDIR = $(shell cd $(MISC)$/$(TARGET); pwd)
@@ -89,7 +89,18 @@ MIMELIST = \
presentation \
presentation-template \
formula \
- master-document
+ master-document \
+ oasis-text \
+ oasis-text-template \
+ oasis-spreadsheet \
+ oasis-spreadsheet-template \
+ oasis-drawing \
+ oasis-drawing-template \
+ oasis-presentation \
+ oasis-presentation-template \
+ oasis-formula \
+ oasis-master-document \
+ oasis-database
GNOMEMIMEDEPN = ../mimetypes/{$(MIMELIST)}.keys
@@ -99,6 +110,7 @@ PKGFLAGFILE = $(MISC)$/$(TARGET).flag
PKGDEPN = \
$(MISC)/$(TARGET)/usr/share/applications.flag \
$(MISC)/$(TARGET)/usr/share/gnome/application-registry/$(UNIXFILENAME).applications \
+ $(MISC)/$(TARGET)/usr/share/gnome/mime-info/$(UNIXFILENAME).mime \
$(MISC)/$(TARGET)/usr/share/gnome/mime-info/$(UNIXFILENAME).keys
PKGDIR = $(shell cd $(BIN); pwd)
@@ -149,11 +161,17 @@ $(MISC)/$(TARGET)/usr/share/gnome/mime-info/$(UNIXFILENAME).keys : $(GNOMEMIMEDE
@$(PERL) ../share/translate.pl -p $(PRODUCTNAME) -d $(MISC)/$(TARGET) --ext "keys" --key "description" $(ULFDIR)/documents.ulf
@cat $(MISC)/$(TARGET)/{$(MIMELIST)}.keys > $@
+$(MISC)/$(TARGET)/usr/share/gnome/mime-info/$(UNIXFILENAME).mime : ../mimetypes/openoffice.mime
+ @$(MKDIRHIER) $(@:d)
+ @echo Creating GNOME .mime file ..
+ @echo ---------------------------------
+ @cat $< | tr -d "\015" > $@
+
$(MISC)/$(TARGET)/usr/share/gnome/application-registry/$(UNIXFILENAME).applications : ../productversion.mk ../mimetypes/openoffice.applications
@$(MKDIRHIER) $(@:d)
@echo Creating GNOME .applications file ..
@echo ---------------------------------
- @cat $< | tr -d "\015" | sed -e "s/openoffice/$(UNIXFILENAME)/" -e "s/%PRODUCTNAME/$(LONGPRODUCTNAME)/" > $@
+ @cat ../mimetypes/openoffice.applications | tr -d "\015" | sed -e "s/openoffice/$(UNIXFILENAME)/" -e "s/%PRODUCTNAME/$(LONGPRODUCTNAME)/" > $@
# --- pkginfo & prototype -----------------------------------------