mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
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:
parent
3326efca14
commit
a645be36cb
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue