smart-selection.mk: Remove [rpm-sys] from channels

- Punch out built-in channel [rpm-sys] on channel list
    generation
  - Change target install-packages to install-%
This commit is contained in:
Jan Lindemann 2006-09-14 16:35:39 +00:00 committed by Jan Lindemann
commit b2a1d50c83

View file

@ -32,7 +32,7 @@ selection.done: $(MODDIR)/make/smart-selection.mk
touch $@
channels.done: $(MODDIR)/make/smart-selection.mk
smart channel --show > $(CHANNEL_LIST)
smart channel --show | sed '/\[rpm-sys\]/,/\[/ d' > $(CHANNEL_LIST)
touch $@
upload.done: selection.done
@ -47,6 +47,10 @@ rpm-install-smart.done:
fi
touch $@
install-packages:
cat $(SELECTION) | xargs sudo smart install -y
smart-update.done:
smart update
touch $@
install-%: smart-update.done
cat $* | xargs sudo smart install -y