makefile.mk (7871dc3e) | makefile.mk (ff3f4ebc) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 80 unchanged lines hidden (view full) --- 89# Copy the postremove file to $(MISC) 90$(MISC)/{$(PRODUCTLIST)}/postremove : $$(@:f) 91 @$(MKDIRHIER) $(@:d) 92 @cat $(@:f) | tr -d "\015" > $@ 93 94# --- openoffice.xml--------------------------- 95 96.IF "$(common_build)"=="TRUE" | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 80 unchanged lines hidden (view full) --- 89# Copy the postremove file to $(MISC) 90$(MISC)/{$(PRODUCTLIST)}/postremove : $$(@:f) 91 @$(MKDIRHIER) $(@:d) 92 @cat $(@:f) | tr -d "\015" > $@ 93 94# --- openoffice.xml--------------------------- 95 96.IF "$(common_build)"=="TRUE" |
97# Copy the openoffice.org.xml file to $(MISC) 98#$(MISC)/$(foreach,i,$(PRODUCTLIST) $i/$i.xml) : $(COMMONMISC)/$$(@:b)/openoffice.org.xml 99$(MISC)/$(foreach,i,$(PRODUCTLIST) $(MISC)/$i/openoffice.org.xml) : $(COMMONMISC)/$$(@:b)/openoffice.org.xml | 97# Copy the apacheopenoffice.xml file to $(MISC) 98#$(MISC)/$(foreach,i,$(PRODUCTLIST) $i/$i.xml) : $(COMMONMISC)/$$(@:b)/apacheopenoffice.xml 99$(MISC)/$(foreach,i,$(PRODUCTLIST) $(MISC)/$i/apacheopenoffice.xml) : $(COMMONMISC)/$$(@:b)/apacheopenoffice.xml |
100 $(MKDIRHIER) $(@:d) 101 echo hier hier $@ 102 cat $< | tr -d "\015" > $@ 103.ENDIF # "$(COMMON_BUILD)"=="" 104 105# --- prototype --------------------------------------------------- 106 107# Copy the prototype file to $(MISC) 108$(MISC)/{$(PRODUCTLIST)}$/prototype : $$(@:f) ../productversion.mk makefile.mk 109 @$(MKDIRHIER) $(@:d) 110 cat $(@:f) | tr -d "\015" | sed -e "s/%PREFIX/$(UNIXFILENAME.$(@:d:d:f))/g" -e "s_%SOURCE_$(COMMONMISC)/$(@:d:d:f)_g" -e "s/%ICONPREFIX/$(ICONPREFIX.$(@:d:d:f))/g" > $@ 111 112# --- packaging --------------------------------------------------- 113 114#$(PKGFILES) : $(MISC)/{$(PRODUCTLIST)}/{copyright pkginfo depend mailcap postinstall postremove} makefile.mk $(MISC)/$$(@:b:b:s/-desktop-integration//)/$$(@:b:b:s/-desktop-integration//).xml | 100 $(MKDIRHIER) $(@:d) 101 echo hier hier $@ 102 cat $< | tr -d "\015" > $@ 103.ENDIF # "$(COMMON_BUILD)"=="" 104 105# --- prototype --------------------------------------------------- 106 107# Copy the prototype file to $(MISC) 108$(MISC)/{$(PRODUCTLIST)}$/prototype : $$(@:f) ../productversion.mk makefile.mk 109 @$(MKDIRHIER) $(@:d) 110 cat $(@:f) | tr -d "\015" | sed -e "s/%PREFIX/$(UNIXFILENAME.$(@:d:d:f))/g" -e "s_%SOURCE_$(COMMONMISC)/$(@:d:d:f)_g" -e "s/%ICONPREFIX/$(ICONPREFIX.$(@:d:d:f))/g" > $@ 111 112# --- packaging --------------------------------------------------- 113 114#$(PKGFILES) : $(MISC)/{$(PRODUCTLIST)}/{copyright pkginfo depend mailcap postinstall postremove} makefile.mk $(MISC)/$$(@:b:b:s/-desktop-integration//)/$$(@:b:b:s/-desktop-integration//).xml |
115$(PKGFILES) : $(MISC)/{$(PRODUCTLIST)}/{copyright pkginfo depend mailcap postinstall postremove} makefile.mk $(MISC)/$$(@:b:b:s/-desktop-integration//)/openoffice.org.xml | 115$(PKGFILES) : $(MISC)/{$(PRODUCTLIST)}/{copyright pkginfo depend mailcap postinstall postremove} makefile.mk $(MISC)/$$(@:b:b:s/-desktop-integration//)/apacheopenoffice.xml |
116$(PKGFILES) : $(MISC)$/{$(PRODUCTLIST)}$/prototype 117 @-$(RM) $(BIN)$/$(@:f) 118 @$(MKDIRHIER) $(@:d) 119 pkgmk -l 1073741824 -r . -f $(MISC)$/$(@:b:b:s/-/ /:1)$/prototype -o -d $(PKGDIR) ARCH=$(PKGARCH) VERSION=$(PKGVERSION.$(@:b:s/-/ /:1)),REV=$(PKGREV).$(PKGDATESTRING) 120.IF "$(DONTCOMPRESS)"=="" 121 $(FASPAC) $(SOLARBINDIR)/faspac-so.sh -a -d $(PKGDIR) $(@:b:b:s/-/ /:1:s/.//)$(PRODUCTVERSIONSHORT)-desktop-int 122.ENDIF # "$(DONTCOMPRESS)"=="" 123 @tar -cf - -C $(PKGDIR) $(@:b:b:s/-/ /:1:s/.//)$(PRODUCTVERSIONSHORT)-desktop-int | gzip > $@ 124 @rm -rf $(PKGDIR)/$(@:b:b:s/-/ /:1:s/.//)$(PRODUCTVERSIONSHORT)-desktop-int 125 126.ENDIF | 116$(PKGFILES) : $(MISC)$/{$(PRODUCTLIST)}$/prototype 117 @-$(RM) $(BIN)$/$(@:f) 118 @$(MKDIRHIER) $(@:d) 119 pkgmk -l 1073741824 -r . -f $(MISC)$/$(@:b:b:s/-/ /:1)$/prototype -o -d $(PKGDIR) ARCH=$(PKGARCH) VERSION=$(PKGVERSION.$(@:b:s/-/ /:1)),REV=$(PKGREV).$(PKGDATESTRING) 120.IF "$(DONTCOMPRESS)"=="" 121 $(FASPAC) $(SOLARBINDIR)/faspac-so.sh -a -d $(PKGDIR) $(@:b:b:s/-/ /:1:s/.//)$(PRODUCTVERSIONSHORT)-desktop-int 122.ENDIF # "$(DONTCOMPRESS)"=="" 123 @tar -cf - -C $(PKGDIR) $(@:b:b:s/-/ /:1:s/.//)$(PRODUCTVERSIONSHORT)-desktop-int | gzip > $@ 124 @rm -rf $(PKGDIR)/$(@:b:b:s/-/ /:1:s/.//)$(PRODUCTVERSIONSHORT)-desktop-int 125 126.ENDIF |