Makefile (ebbab6bbae913efeadfa3c6a1b082664a125f95b) Makefile (e3c7c8f87921d6207a2ea7e79b31f9762e18116f)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 373 unchanged lines hidden (view full) ---

382# Due to limitations in pkgdepend, we cannot simply treat synthetic
383# and real manifests identically. But we don't really want to
384# maintain a separate chain for synthetic manifests, so for the left
385# side of this diagram, we actually do faux dependency generation and
386# resolution, so we end up with the expected set of files in $(PDIR),
387# per the individual file chain described above: mf, mog, dep, res,
388# and pub files for each manifest.
389#
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 373 unchanged lines hidden (view full) ---

382# Due to limitations in pkgdepend, we cannot simply treat synthetic
383# and real manifests identically. But we don't really want to
384# maintain a separate chain for synthetic manifests, so for the left
385# side of this diagram, we actually do faux dependency generation and
386# resolution, so we end up with the expected set of files in $(PDIR),
387# per the individual file chain described above: mf, mog, dep, res,
388# and pub files for each manifest.
389#
390all: $(PROC_SYNTH_PKGS) proto_list_$(PKGMACH)
390ALL_TARGETS= $(PROC_SYNTH_PKGS) proto_list_$(PKGMACH)
391
391
392all: $(ALL_TARGETS)
393
392#
393# This will build the directory to contain the processed manifests
394# and the metadata symlinks.
395#
396$(PDIR):
397 @print "Creating $(@)"
398 $(PKGDEBUG)$(INS.dir)
399

--- 34 unchanged lines hidden (view full) ---

434 done; \
435 fi
436 $(PKGDEBUG)for p in $(DEP_SYNTH_PKGS:%.dep=%); \
437 do \
438 $(CP) $$p.dep $$p.res; \
439 done
440 $(PKGDEBUG)$(TOUCH) $(@)
441
394#
395# This will build the directory to contain the processed manifests
396# and the metadata symlinks.
397#
398$(PDIR):
399 @print "Creating $(@)"
400 $(PKGDEBUG)$(INS.dir)
401

--- 34 unchanged lines hidden (view full) ---

436 done; \
437 fi
438 $(PKGDEBUG)for p in $(DEP_SYNTH_PKGS:%.dep=%); \
439 do \
440 $(CP) $$p.dep $$p.res; \
441 done
442 $(PKGDEBUG)$(TOUCH) $(@)
443
442install: repository-metadata
444install: $(ALL_TARGETS) repository-metadata
443
444repository-metadata: publish_pkgs
445 @print "Creating repository metadata"
446 $(PKGDEBUG)for r in $(REPOS); do \
447 /usr/lib/pkg.depotd -d $(PKGDEST)/repo.$$r \
448 --add-content --exit-ready; \
449 chmod a+r $(PKGDEST)/repo.$$r/cfg_cache; \
450 done

--- 324 unchanged lines hidden ---
445
446repository-metadata: publish_pkgs
447 @print "Creating repository metadata"
448 $(PKGDEBUG)for r in $(REPOS); do \
449 /usr/lib/pkg.depotd -d $(PKGDEST)/repo.$$r \
450 --add-content --exit-ready; \
451 chmod a+r $(PKGDEST)/repo.$$r/cfg_cache; \
452 done

--- 324 unchanged lines hidden ---