b2b5cf470a
Change-Id: Iaf0941b9aefb1b7dd900fe595135e995b44b7851
20 lines
435 B
Makefile
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
|