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 | #! gmake |
michael@0 | 2 | # |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | CORE_DEPTH = ../.. |
michael@0 | 8 | DEPTH = ../.. |
michael@0 | 9 | |
michael@0 | 10 | include $(CORE_DEPTH)/coreconf/config.mk |
michael@0 | 11 | |
michael@0 | 12 | publish: |
michael@0 | 13 | ifeq ($(OS_TARGET),Linux) |
michael@0 | 14 | rm -rf $(OBJDIR) |
michael@0 | 15 | cp -r linux $(OBJDIR) |
michael@0 | 16 | $(MAKE) -C $(OBJDIR) publish |
michael@0 | 17 | endif |
michael@0 | 18 | ifeq ($(OS_TARGET),SunOS) |
michael@0 | 19 | rm -rf $(OBJDIR) |
michael@0 | 20 | cp -r solaris $(OBJDIR) |
michael@0 | 21 | $(MAKE) -C $(OBJDIR) publish |
michael@0 | 22 | endif |
michael@0 | 23 | |
michael@0 | 24 | clean:: |
michael@0 | 25 | rm -rf $(OBJDIR) |
michael@0 | 26 | |
michael@0 | 27 | include $(CORE_DEPTH)/coreconf/rules.mk |