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
michael@0 | 1 | # |
michael@0 | 2 | # Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
michael@0 | 3 | # Use is subject to license terms. |
michael@0 | 4 | # |
michael@0 | 5 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 6 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 7 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 8 | # |
michael@0 | 9 | |
michael@0 | 10 | pkginfo: pkginfo.tmpl ../awk_pkginfo |
michael@0 | 11 | $(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@ |
michael@0 | 12 | |
michael@0 | 13 | pkg: $(PKGARCHIVE) prototype |
michael@0 | 14 | pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE) |
michael@0 | 15 | |
michael@0 | 16 | $(PKGARCHIVE): |
michael@0 | 17 | [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE) |
michael@0 | 18 | |
michael@0 | 19 | $(DATAFILES):: %: ../common_files/% |
michael@0 | 20 | $(RM) $@; cp ../common_files/$@ $@ |
michael@0 | 21 | |
michael@0 | 22 | $(MACHDATAFILES): %: ../common_files/%_$(MACH) |
michael@0 | 23 | $(RM) $@; cp ../common_files/$@_$(MACH) $@ |
michael@0 | 24 | |
michael@0 | 25 | clobber clean:: |
michael@0 | 26 | -$(RM) $(CLOBBERFILES) $(CLEANFILES) |
michael@0 | 27 | |
michael@0 | 28 | .PHONY: pkg |