Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 #
2 # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
4 #
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/.
8 #
10 pkginfo: pkginfo.tmpl ../awk_pkginfo
11 $(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@
13 pkg: $(PKGARCHIVE) prototype
14 pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
16 $(PKGARCHIVE):
17 [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
19 $(DATAFILES):: %: ../common_files/%
20 $(RM) $@; cp ../common_files/$@ $@
22 $(MACHDATAFILES): %: ../common_files/%_$(MACH)
23 $(RM) $@; cp ../common_files/$@_$(MACH) $@
25 clobber clean::
26 -$(RM) $(CLOBBERFILES) $(CLEANFILES)
28 .PHONY: pkg