anvil/conf/templates/packaging/makefiles/source.mk
Joshua Harlow b2b5cf470a Show the location where the build logs will be.
Change-Id: Iaf0941b9aefb1b7dd900fe595135e995b44b7851
2013-08-03 13:13:09 -07:00

20 lines
435 B
Makefile

DOWNLOADS_DIR := $DOWNLOADS_DIR
LOGS_DIR := $LOGS_DIR
PY2RPM := $PY2RPM
PY2RPM_FLAGS := $PY2RPM_FLAGS
#raw
MARKS := $(foreach archive,$(shell ls $(DOWNLOADS_DIR)),$(archive).mark)
all: $(MARKS)
%.mark: $(DOWNLOADS_DIR)/%
@echo "Building source rpm for $^"
@echo "Output for build being placed in $(LOGS_DIR)/py2rpm-$*.log"
@$(PY2RPM) $(PY2RPM_FLAGS) -- $^ &> $(LOGS_DIR)/py2rpm-$*.log
@touch "$@"
@echo "Created $*"
#end raw