summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-07-18 13:00:13 +0000
committerOliver Bolte <obo@openoffice.org>2005-07-18 13:00:13 +0000
commit5246fde149dd463e9339817958c8846fd166168e (patch)
tree13fccfa2e46103a6fe959009b479b9c68b754279 /sysui
parentc8cbb730fe302d3545efd571e643ce8e7ff616fe (diff)
INTEGRATION: CWS sysui09 (1.6.2); FILE MERGED
2005/07/05 09:43:45 obr 1.6.2.1: #i51121,#i49368# unified shared-mime-info creation and added it to redhat- and suse-menus package
Diffstat (limited to 'sysui')
-rw-r--r--sysui/desktop/share/makefile.mk22
1 files changed, 16 insertions, 6 deletions
diff --git a/sysui/desktop/share/makefile.mk b/sysui/desktop/share/makefile.mk
index 28a03dad6fb8..ea0cf1053ecc 100644
--- a/sysui/desktop/share/makefile.mk
+++ b/sysui/desktop/share/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.6 $
+# $Revision: 1.7 $
#
-# last change: $Author: rt $ $Date: 2005-06-21 15:03:46 $
+# last change: $Author: obo $ $Date: 2005-07-18 14:00:13 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -118,11 +118,21 @@ $(LAUNCHERFLAGFILE) : $(LAUNCHERDEPN) ../productversion.mk brand.pl translate.pl
@touch $@
#
-# Merge translations from documents.ulf into shared-mime-info stub
+# Create shared mime info xml file
#
-$(MIMEINFO) : $(COMMONMISC)$/$(TARGET)$/documents.ulf $$(@:f)
- @echo Merging translations into shared mime info ..
+$(MIMEINFO) : $(shell ls ../mimetypes/*.desktop) create_mime_xml.pl
+$(MIMEINFO) : $(COMMONMISC)$/$(TARGET)$/documents.ulf
+ @echo Create shared mime info xml file ..
@echo ---------------------------------
- @$(PERL) merge-shared-mime-translations.pl -p "OpenOffice.org" -u $< > $(@).$(INPATH)
+ @$(PERL) create_mime_xml.pl $< > $(@).$(INPATH)
@mv -f $(@).$(INPATH) $@
+
+#
+# Install section
+#
+
+%.xml : $(COMMONMISC)/$(TARGET)/$$(@:f)
+ @$(MKDIRHIER) $(@:d)
+ @$(COPY) $< $@
+# @chmod 0544 $@