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
This commit is contained in:
Oliver Bolte 2005-07-18 13:00:13 +00:00
parent c8cbb730fe
commit 5246fde149

View file

@ -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 $@