INTEGRATION: CWS ause047 (1.18.4); FILE MERGED
2006/01/27 10:41:24 obr 1.18.4.2: #i60869# replaces checks for RPM and DPKG with PKGFORMAT checks 2006/01/24 15:34:21 obr 1.18.4.1: #i60869# check for $(RPM) instead of $(OS) and added missing mkdirs
This commit is contained in:
parent
5908c17044
commit
68062c5167
1 changed files with 5 additions and 4 deletions
|
@ -4,9 +4,9 @@
|
|||
#
|
||||
# $RCSfile: makefile.mk,v $
|
||||
#
|
||||
# $Revision: 1.18 $
|
||||
# $Revision: 1.19 $
|
||||
#
|
||||
# last change: $Author: rt $ $Date: 2006-01-13 14:57:38 $
|
||||
# last change: $Author: kz $ $Date: 2006-01-31 18:19:57 $
|
||||
#
|
||||
# The Contents of this file are made available subject to
|
||||
# the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -121,7 +121,7 @@ KDEICONLIST = \
|
|||
locolor/{16x16 32x32}/apps/$(ICONPREFIX)-{$(LAUNCHERLIST)}.png \
|
||||
locolor/{16x16 32x32}/mimetypes/$(ICONPREFIX)-{$(MIMEICONLIST)}.png
|
||||
|
||||
.IF "$(RPM)"!=""
|
||||
.IF "$(PKGFORMAT)"!="$(PKGFORMAT:s/rpm//)"
|
||||
|
||||
PKGNAME=$(shell sed -n -e 's/^Name: //p' $(TARGET)-menus.spec)
|
||||
RPMFILE=$(PKGDIR)/$(PKGNAME)-$(PKGVERSION)-$(PKGREV).noarch.rpm
|
||||
|
@ -148,7 +148,7 @@ ULFDIR = $(COMMONMISC)$/desktopshare
|
|||
|
||||
.INCLUDE : target.mk
|
||||
|
||||
.IF "$(RPM)"!=""
|
||||
.IF "$(PKGFORMAT)"!="$(PKGFORMAT:s/rpm//)"
|
||||
|
||||
ALLTAR : $(RPMFILE)
|
||||
|
||||
|
@ -227,6 +227,7 @@ $(MISC)/$(TARGET)/etc/$(UNIXFILENAME) :
|
|||
# --- packaging ---------------------------------------------------
|
||||
|
||||
$(RPMFILE) : $(RPMDEPN) $(MISC)/$(TARGET)-menus.spec
|
||||
@-$(MKDIRHIER) $(@:d)
|
||||
-$(RM) $(@:d)$/$(PKGNAME)-* $(BIN)$/noarch$/$(PKGNAME)-*
|
||||
@$(RPM) -bb $(MISC)/$(TARGET)-menus.spec $(RPMMACROS) \
|
||||
--buildroot $(LAUNCHERDIR) \
|
||||
|
|
Loading…
Reference in a new issue