From b5c9ff26903d0c911e0708839ca41c9a716384fa Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Fri, 18 Jun 2010 16:33:26 +0200 Subject: [PATCH] Makefile: new targets: update-repo{-testing} --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 4508cff..654de11 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,9 @@ RPMS_DIR=rpm/ help: @echo "make rpms -- generate binary rpm packages" @echo "make res -- compile resources" + @echo "make update-repo -- copy newly generated rpms to qubes yum repo" + @echo "make update-repo-testing -- same, but to -testing repo" + rpms: rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/qmgr.spec @@ -10,3 +13,10 @@ rpms: res: pyrcc4 -o qubesmanager/qrc_resources.py resources.qrc pyuic4 -o qubesmanager/ui_newappvmdlg.py newappvmdlg.ui + +update-repo: + ln -f $(RPMS_DIR)/x86_64/qubes-manager-*.rpm ../yum/r1/dom0/rpm/ + +update-repo-testing: + ln -f $(RPMS_DIR)/x86_64/qubes-manager-*.rpm ../yum/r1-testing/dom0/rpm/ +