components/meta-packages/history/Makefile
author Shawn Walker-Salas <shawn.walker@oracle.com>
Wed, 30 Mar 2016 13:33:31 -0700
changeset 5682 94c0ca64c022
parent 4813 5e86eaf216ff
child 5687 3edec987dfad
permissions -rw-r--r--
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh 22228656 remove redundant declarations and additions from makefiles 22252545 simplify build rules for components from common upstream 22378457 tclConfig.sh compiler settings are too specific 22727315 httping curses gui missing 22750630 procmail ignores userland cflags and may use private strstr function 22758725 wdiff uses diff from PATH instead of /usr/gnu/bin/diff 22926847 cloog Makefile typo when setting ASLR_MODE 22935090 tk config script has wrong linker flags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
145
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4813
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4813
diff changeset
    22
#
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2142
diff changeset
    23
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
145
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
#
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    25
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    27
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2142
diff changeset
    28
# $(WS_MAKE_RULES)/ips.mk really isn't set up to allow you to bypass all
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    29
# the automatic (and lengthy) manifest manipulation that it does, which we
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    30
# really don't need to do for these static, uninteresting packages.  So we just
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    31
# write a simple set of publication rules to get the packages into the repo.
145
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    32
4196
d697072a92f5 19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
    33
include $(WS_MAKE_RULES)/prep.mk
d697072a92f5 19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
    34
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    35
PKGSEND =	/usr/bin/pkgsend
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    36
PKGLINT =	/usr/bin/pkglint
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    37
PKGMOGRIFY =	/usr/bin/pkgmogrify
145
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    38
1048
e82fa02a4d16 15863968 Auto-generation of Userland gate list - Phase 1.
Rich Burridge <rich.burridge@oracle.com>
parents: 197
diff changeset
    39
COMPONENT_NAME=		"Package History"
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 1048
diff changeset
    40
COMPONENT_BUGDB=	gate-stuff/userland
1048
e82fa02a4d16 15863968 Auto-generation of Userland gate list - Phase 1.
Rich Burridge <rich.burridge@oracle.com>
parents: 197
diff changeset
    41
4813
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    42
GENERATE_HISTORY=	$(WS_TOOLS)/generate-history
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    43
HISTORY=		history
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    44
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    45
MANIFEST_BASE =		$(BUILD_DIR)/manifest-$(MACH)
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    46
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    47
CANONICAL_MANIFESTS =	$(wildcard *.p5m)
4813
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    48
HISTORICAL_MANIFESTS =	$(shell $(NAWK) -v FUNCTION=name -f $(GENERATE_HISTORY) < $(HISTORY))
197
fd801ec0737c 7038707 move acpidump to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 192
diff changeset
    49
ARCH_MANIFESTS =	$(wildcard *.p5m.$(MACH))
fd801ec0737c 7038707 move acpidump to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 192
diff changeset
    50
GENERATED_ARCH_MANIFESTS =	$(ARCH_MANIFESTS:%.p5m.$(MACH)=%.p5m)
fd801ec0737c 7038707 move acpidump to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 192
diff changeset
    51
CANONICAL_MANIFESTS +=  $(GENERATED_ARCH_MANIFESTS)
fd801ec0737c 7038707 move acpidump to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 192
diff changeset
    52
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    53
MOGRIFIED =		$(CANONICAL_MANIFESTS:%.p5m=$(MANIFEST_BASE)-%.mogrified)
4813
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    54
HISTOGRIFIED =		$(HISTORICAL_MANIFESTS:%.p5m=$(MANIFEST_BASE)-%.histogrified)
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    55
PUBLISHED =		$(CANONICAL_MANIFESTS:%.p5m=$(MANIFEST_BASE)-%.published)
4813
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    56
PUBLISHED +=		$(HISTORICAL_MANIFESTS:%.p5m=$(MANIFEST_BASE)-%.published)
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    57
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    58
# Rule to generate historical manifests from the $(HISTORY) file.
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    59
define history-manifest-rule
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    60
$(MANIFEST_BASE)-$(1): $(HISTORY) $(BUILD_DIR)
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    61
	$(NAWK) -v FUNCTION=manifest -v TARGET=$1 -f $(GENERATE_HISTORY) < \
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    62
	    $(HISTORY) > $$@
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    63
endef
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    64
$(foreach mfst,$(HISTORICAL_MANIFESTS),$(eval $(call history-manifest-rule,$(mfst))))
145
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    65
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1416
diff changeset
    66
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1416
diff changeset
    67
4367
2f56a3dac19a 21028978 install all packages fails for pkgs added from sfw to userland incorpororation
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    68
PKG_MACROS =		CONSOLIDATION=$(CONSOLIDATION)
2f56a3dac19a 21028978 install all packages fails for pkgs added from sfw to userland incorpororation
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    69
PKG_MACROS +=		BUILD_VERSION=$(BUILD_VERSION)
2f56a3dac19a 21028978 install all packages fails for pkgs added from sfw to userland incorpororation
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    70
PKG_MACROS +=		OS_VERSION=$(OS_VERSION)
2f56a3dac19a 21028978 install all packages fails for pkgs added from sfw to userland incorpororation
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    71
2f56a3dac19a 21028978 install all packages fails for pkgs added from sfw to userland incorpororation
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    72
PKG_OPTIONS +=		$(PKG_MACROS:%=-D %)
2f56a3dac19a 21028978 install all packages fails for pkgs added from sfw to userland incorpororation
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    73
2f56a3dac19a 21028978 install all packages fails for pkgs added from sfw to userland incorpororation
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    74
build install test system-test:
192
770850e7b61c 7036473 dependency resolution should happen in one step for all component's packages (fix history targets)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 191
diff changeset
    75
	@echo "nothing to be done for $@"
770850e7b61c 7036473 dependency resolution should happen in one step for all component's packages (fix history targets)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 191
diff changeset
    76
145
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    77
$(BUILD_DIR):
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    78
	$(MKDIR) $@
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    79
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    80
$(MANIFEST_BASE)-%.mogrified: %.p5m $(BUILD_DIR)
4367
2f56a3dac19a 21028978 install all packages fails for pkgs added from sfw to userland incorpororation
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    81
	$(PKGMOGRIFY) $(PKG_OPTIONS) $< \
2142
813e4817e573 18139749 userland-incorporator should allow generation of multiple incorporations
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 1759
diff changeset
    82
	              $(WS_TOP)/transforms/incorporate > $@
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    83
4813
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    84
$(MANIFEST_BASE)-%.histogrified: $(MANIFEST_BASE)-%.p5m $(BUILD_DIR)
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    85
	$(PKGMOGRIFY) $(PKG_OPTIONS) $< \
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    86
	              $(WS_TOP)/transforms/incorporate > $@
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    87
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    88
$(MANIFEST_BASE)-%.published: $(MANIFEST_BASE)-%.mogrified $(BUILD_DIR)
1416
a87a9e85090e 17231570 full userland build sporadically fails during 'pkgsend publish'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 1058
diff changeset
    89
	$(PKGSEND) -s $(PKG_REPO) publish --fmri-in-manifest --no-catalog $<
191
75b0ee5251ca 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages top-level build)
Danek Duvall <danek.duvall@oracle.com>
parents: 187
diff changeset
    90
	$(CP) $< $@
145
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    91
4813
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    92
$(MANIFEST_BASE)-%.published: $(MANIFEST_BASE)-%.histogrified $(BUILD_DIR)
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    93
	$(PKGSEND) -s $(PKG_REPO) publish --fmri-in-manifest --no-catalog $<
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    94
	$(CP) $< $@
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    95
5e86eaf216ff 21699326 Userland package history simplification
John Beck <John.Beck@Oracle.COM>
parents: 4367
diff changeset
    96
$(BUILD_DIR)/.linted-$(MACH): $(MOGRIFIED) $(HISTOGRIFIED) $(BUILD_DIR)
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    97
	$(ENV) PYTHONPATH=$(WS_TOOLS)/python \
1759
b412ae0aa701 17591620 ruby 1.9 should not have its *.rb text files under amd64/sparcv9 directories (another pkglint fix)
April Chin <april.chin@oracle.com>
parents: 1434
diff changeset
    98
		SOLARIS_VERSION=$(SOLARIS_VERSION) \
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
    99
		$(PKGLINT) $(CANONICAL_REPO:%=-c $(WS_LINT_CACHE)) \
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
   100
			-f $(WS_TOOLS)/pkglintrc $(MOGRIFIED)
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
   101
	$(TOUCH) $@
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
   102
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
   103
$(BUILD_DIR)/.published-$(MACH): $(BUILD_DIR)/.linted-$(MACH) $(PUBLISHED)
1416
a87a9e85090e 17231570 full userland build sporadically fails during 'pkgsend publish'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 1058
diff changeset
   104
ifndef DISABLE_IPS_CATALOG_AND_INDEX_UPDATES
a87a9e85090e 17231570 full userland build sporadically fails during 'pkgsend publish'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 1058
diff changeset
   105
	$(PKGREPO) refresh -s $(PKG_REPO)
a87a9e85090e 17231570 full userland build sporadically fails during 'pkgsend publish'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 1058
diff changeset
   106
endif
187
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
   107
	$(TOUCH) $@
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
   108
80d8cb349fea 7036473 dependency resolution should happen in one step for all component's packages (fix historical packages build)
Danek Duvall <danek.duvall@oracle.com>
parents: 145
diff changeset
   109
publish: $(BUILD_DIR)/.published-$(MACH)
145
1e2390f5555e 7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   110
197
fd801ec0737c 7038707 move acpidump to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 192
diff changeset
   111
%.p5m: 	%.p5m.$(MACH)
fd801ec0737c 7038707 move acpidump to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 192
diff changeset
   112
	$(CP) $< $@
fd801ec0737c 7038707 move acpidump to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 192
diff changeset
   113
	
4196
d697072a92f5 19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
   114
clobber clean::
197
fd801ec0737c 7038707 move acpidump to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 192
diff changeset
   115
	$(RM) -r $(BUILD_DIR) $(GENERATED_ARCH_MANIFESTS)