2 # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
14 PUBLISH_ROOT = $(DIST)
15 ifeq ($(MOD_DEPTH),../..)
18 ROOT = $(subst ../../,,$(MOD_DEPTH))/ROOT
21 PKGARCHIVE = $(dist_prefix)/pkgarchive
23 FILES = $(DATAFILES) pkginfo
25 PACKAGE = $(shell basename `pwd`)
27 PRODUCT_VERSION = $(shell grep PR_VERSION $(dist_includedir)/prinit.h \
28 | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//')
33 CLOBBERFILES = $(FILES)
35 include $(topsrcdir)/config/rules.mk