equal
deleted
inserted
replaced
444 PKGSEND_PUBLISH_OPTIONS = -s $(PKG_REPO) publish --fmri-in-manifest |
444 PKGSEND_PUBLISH_OPTIONS = -s $(PKG_REPO) publish --fmri-in-manifest |
445 PKGSEND_PUBLISH_OPTIONS += --no-catalog |
445 PKGSEND_PUBLISH_OPTIONS += --no-catalog |
446 PKGSEND_PUBLISH_OPTIONS += $(PKG_PROTO_DIRS:%=-d %) |
446 PKGSEND_PUBLISH_OPTIONS += $(PKG_PROTO_DIRS:%=-d %) |
447 PKGSEND_PUBLISH_OPTIONS += -T \*.py |
447 PKGSEND_PUBLISH_OPTIONS += -T \*.py |
448 |
448 |
|
449 # PKGREPO_REMOVE_BEFORE_PUBLISH remove previously published versions of this package |
|
450 # before publishing the new build |
|
451 PKGREPO_REMOVE_BEFORE_PUBLISH ?= no |
|
452 |
449 $(MANIFEST_BASE)-%.published: $(MANIFEST_BASE)-%.depend.res $(BUILD_DIR)/.linted-$(MACH) |
453 $(MANIFEST_BASE)-%.published: $(MANIFEST_BASE)-%.depend.res $(BUILD_DIR)/.linted-$(MACH) |
|
454 ifeq ($(PKGREPO_REMOVE_BEFORE_PUBLISH),yes) |
|
455 -$(PKGREPO) -s $(PKG_REPO) remove \ |
|
456 $(shell $(CAT) $< $(WS_TOP)/transforms/print-pkgs | \ |
|
457 $(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 | \ |
|
458 sed -e '/^$$/d' -e '/^#.*$$/d' | sort -u) |
|
459 endif |
450 $(PKGSEND) $(PKGSEND_PUBLISH_OPTIONS) $< |
460 $(PKGSEND) $(PKGSEND_PUBLISH_OPTIONS) $< |
451 $(PKGFMT) <$< >$@ |
461 $(PKGFMT) <$< >$@ |
452 |
462 |
453 $(BUILD_DIR)/.published-$(MACH): $(PUBLISHED) |
463 $(BUILD_DIR)/.published-$(MACH): $(PUBLISHED) |
454 ifndef DISABLE_IPS_CATALOG_AND_INDEX_UPDATES |
464 ifndef DISABLE_IPS_CATALOG_AND_INDEX_UPDATES |