equal
deleted
inserted
replaced
418 PKGSEND_PUBLISH_OPTIONS = -s $(PKG_REPO) publish --fmri-in-manifest |
418 PKGSEND_PUBLISH_OPTIONS = -s $(PKG_REPO) publish --fmri-in-manifest |
419 PKGSEND_PUBLISH_OPTIONS += --no-catalog |
419 PKGSEND_PUBLISH_OPTIONS += --no-catalog |
420 PKGSEND_PUBLISH_OPTIONS += $(PKG_PROTO_DIRS:%=-d %) |
420 PKGSEND_PUBLISH_OPTIONS += $(PKG_PROTO_DIRS:%=-d %) |
421 PKGSEND_PUBLISH_OPTIONS += -T \*.py |
421 PKGSEND_PUBLISH_OPTIONS += -T \*.py |
422 |
422 |
|
423 # PKGREPO_REMOVE_BEFORE_PUBLISH remove previously published versions of this package |
|
424 # before publishing the new build |
|
425 PKGREPO_REMOVE_BEFORE_PUBLISH ?= no |
|
426 |
423 $(MANIFEST_BASE)-%.published: $(MANIFEST_BASE)-%.depend.res $(BUILD_DIR)/.linted-$(MACH) |
427 $(MANIFEST_BASE)-%.published: $(MANIFEST_BASE)-%.depend.res $(BUILD_DIR)/.linted-$(MACH) |
|
428 ifeq ($(PKGREPO_REMOVE_BEFORE_PUBLISH),yes) |
|
429 -$(PKGREPO) -s $(PKG_REPO) remove \ |
|
430 $(shell $(CAT) $< $(WS_TOP)/transforms/print-pkgs | \ |
|
431 $(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 | \ |
|
432 sed -e '/^$$/d' -e '/^#.*$$/d' | sort -u) |
|
433 endif |
424 $(PKGSEND) $(PKGSEND_PUBLISH_OPTIONS) $< |
434 $(PKGSEND) $(PKGSEND_PUBLISH_OPTIONS) $< |
425 $(PKGFMT) <$< >$@ |
435 $(PKGFMT) <$< >$@ |
426 |
436 |
427 $(BUILD_DIR)/.published-$(MACH): $(PUBLISHED) |
437 $(BUILD_DIR)/.published-$(MACH): $(PUBLISHED) |
428 ifndef DISABLE_IPS_CATALOG_AND_INDEX_UPDATES |
438 ifndef DISABLE_IPS_CATALOG_AND_INDEX_UPDATES |