Makefile: udpate-repo-installler

This commit is contained in:
Joanna Rutkowska 2011-04-07 12:36:58 +02:00
parent e00bff596f
commit e0aa071670

View File

@ -1,10 +1,11 @@
RPMS_DIR=rpm/ RPMS_DIR=rpm/
VERSION := $(shell cat version) VERSION := $(shell cat version)
help: help:
@echo "make rpms -- generate binary rpm packages" @echo "make rpms -- generate binary rpm packages"
@echo "make res -- compile resources" @echo "make res -- compile resources"
@echo "make update-repo-current -- copy newly generated rpms to qubes yum repo" @echo "make update-repo-current -- copy newly generated rpms to qubes yum repo"
@echo "make update-repo-unstable -- same, but to -testing repo" @echo "make update-repo-unstable -- same, but to -testing repo"
@echo "make update-repo-installer -- copy dom0 rpms to installer repo"
rpms: rpms:
@ -19,6 +20,12 @@ res:
update-repo-current: update-repo-current:
ln -f $(RPMS_DIR)/x86_64/qubes-manager-*$(VERSION)*.rpm ../yum/current-release/current/dom0/rpm/ ln -f $(RPMS_DIR)/x86_64/qubes-manager-*$(VERSION)*.rpm ../yum/current-release/current/dom0/rpm/
cd ../yum && ./update_repo.sh
update-repo-unstable: update-repo-unstable:
ln -f $(RPMS_DIR)/x86_64/qubes-manager-*$(VERSION)*.rpm ../yum/current-release/unstable/dom0/rpm/ ln -f $(RPMS_DIR)/x86_64/qubes-manager-*$(VERSION)*.rpm ../yum/current-release/unstable/dom0/rpm/
cd ../yum && ./update_repo.sh
update-repo-installer:
ln -f $(RPMS_DIR)/x86_64/qubes-manager-*$(VERSION)*.rpm ../installer/yum/qubes-dom0/rpm/
cd ../installer/yum && ./update_repo.sh