projects-dir.mk: Make target pkg-exclude-built-today add projects

Make target pkg-exclude-built-today add projects to exclude.txt,
rather than replace exclude.txt

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-06-28 15:36:46 +00:00
commit a645be36cb

View file

@ -129,7 +129,13 @@ pkg-install-prereq-release:
@$(PROJECTS_PY) requires-pkg --flavours "build run release" $(BUILD_PROJECTS) | xargs -r $(PKG_MANAGER_SH) install -y
pkg-exclude-built-today:
$(JANWARE_PKG) built-today > $(EXCLUDES_FILE)
touch $(EXCLUDES_FILE)
$(JANWARE_PKG) built-today > built-today.tmp
cat $(EXCLUDES_FILE) built-today.tmp | sed 's/ */\n/g' | sort -u > $(EXCLUDES_FILE).tmp
mv $(EXCLUDES_FILE).tmp $(EXCLUDES_FILE)
clean: clean.pkg-exclude-built-today
clean.pkg-exclude-built-today:
rm -f $(EXCLUDES_FILE).tmp built-today.tmp
pkg-list-groups:
@find . -name project.conf | xargs sed '/^ *group *=/!d; s/group *= *//; s/"//g' | sort -u