Skip to content

Commit

Permalink
changing PRODUCT VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
sonja.mirtitsch%sun.com committed Feb 8, 2003
1 parent b0d4aa8 commit dfaed29
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
7 changes: 4 additions & 3 deletions nsprpub/pkg/solaris/Makefile.com
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
11 changes: 9 additions & 2 deletions nsprpub/pkg/solaris/Makefile.targ
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit dfaed29

Please sign in to comment.