瀏覽代碼

Propagate pre-publish target

tags/oi-20161030
Alexander Pyhalov 3 年之前
父節點
當前提交
b5b9c716b3
共有 2 個檔案被更改,包括 6 行新增4 行删除
  1. 2
    1
      Makefile
  2. 4
    3
      components/Makefile

+ 2
- 1
Makefile 查看文件

@@ -30,6 +30,7 @@ prep: TARGET = prep
build: TARGET = build
install: TARGET = install
publish: TARGET = publish
pre-publish: TARGET = pre-publish
validate: TARGET = validate
clean: TARGET = clean
clobber: TARGET = clobber
@@ -39,7 +40,7 @@ component-hook: TARGET = component-hook

.DEFAULT: publish

download setup prep build install publish validate clean clobber \
download setup prep build install pre-publish publish validate clean clobber \
test component-hook unpack patch: $(SUBDIRS)

$(SUBDIRS): FORCE

+ 4
- 3
components/Makefile 查看文件

@@ -57,13 +57,14 @@ download: TARGET = download
prep: TARGET = prep
build: TARGET = build
install: TARGET = install
pre-publish: TARGET = pre-publish
publish: TARGET = publish
clean: TARGET = clean
clobber: TARGET = clobber
test: TARGET = test
component-hook: TARGET = component-hook
prep build install publish test: TEMPLATE_ZONE=$(ZONE)
prep build install publish test: LOG = >$(WS_LOGS)/$(@F).$(TARGET).log 2>&1
prep build install pre-publish publish test: TEMPLATE_ZONE=$(ZONE)
prep build install pre-publish publish test: LOG = >$(WS_LOGS)/$(@F).$(TARGET).log 2>&1

# turn off pkglint for the individual component builds.
ifeq ($(strip $(PKGLINT_COMPONENT)),)
@@ -72,7 +73,7 @@ endif

.DEFAULT: publish

build install publish test: $(COMPONENT_DIRS)
build install pre-publish publish test: $(COMPONENT_DIRS)

COMPONENT_DIRS.nosetup = $(COMPONENT_DIRS:%=%.nosetup)


Loading…
取消
儲存