changing PRODUCT VERSION

This commit is contained in:
sonja.mirtitsch%sun.com 2003-02-08 06:32:06 +00:00
parent b0d4aa8fa7
commit dfaed2983d
2 changed files with 13 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile.com,v 1.2 2003/01/04 02:13:57 wtc%netscape.com Exp $"
#ident "$Id: Makefile.com,v 1.3 2003/02/08 06:32:06 sonja.mirtitsch%sun.com Exp $"
#
MACH = $(shell mach)
@ -16,11 +16,12 @@ endif
PKGARCHIVE = $(dist_libdir)/pkgarchive
DATAFILES = copyright
FILES = $(DATAFILES) pkginfo
FILES = $(DATAFILES) pkginfo prototype
PACKAGE = $(shell basename `pwd`)
PRODUCT_VERSION = $(MOD_VERSION).$(MOD_MINOR).$(MOD_PATCH)
PRODUCT_VERSION = $(MOD_MAJOR_VERSION).$(MOD_MINOR_VERSION).$(MOD_REVISION_VERSION)
LN = /usr/bin/ln
CLOBBERFILES = $(FILES)

View File

@ -2,14 +2,21 @@
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile.targ,v 1.2 2003/01/04 02:13:59 wtc%netscape.com Exp $"
#ident "$Id: Makefile.targ,v 1.3 2003/02/08 06:32:06 sonja.mirtitsch%sun.com Exp $"
#
pkginfo: pkginfo.tmpl ../awk_pkginfo
$(RM) $@; nawk -f ../awk_pkginfo $< > $@
# we need to copy prototype_sparc to current too find copyright in current
pkg: $(PKGARCHIVE)
prototype: prototype_com prototype_$(MACH)
cat prototype_$(MACH) | sed -e \
'/^!include[ ][ ]*prototype_com/ r ./prototype_com' \
-e 's/^!include[ ][ ]*prototype_com//g' >prototype
pkg: $(PKGARCHIVE) prototype
cp $(srcdir)/prototype_com .
cp $(srcdir)/prototype_$(MACH) .
cp $(srcdir)/depend .