2010-05-11 16:51:31 +02:00
|
|
|
RPMS_DIR=rpm/
|
2011-04-04 12:59:59 +02:00
|
|
|
VERSION := $(shell cat version)
|
2010-05-11 16:51:31 +02:00
|
|
|
help:
|
2011-04-07 12:36:58 +02:00
|
|
|
@echo "make rpms -- generate binary rpm packages"
|
|
|
|
@echo "make res -- compile resources"
|
|
|
|
@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-installer -- copy dom0 rpms to installer repo"
|
2010-06-18 16:33:26 +02:00
|
|
|
|
2010-05-11 16:51:31 +02:00
|
|
|
|
|
|
|
rpms:
|
2010-05-16 06:29:55 +02:00
|
|
|
rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/qmgr.spec
|
2011-04-04 12:59:59 +02:00
|
|
|
rpm --addsign $(RPMS_DIR)/x86_64/qubes-manager*$(VERSION)*.rpm
|
2010-05-11 16:51:31 +02:00
|
|
|
|
|
|
|
res:
|
|
|
|
pyrcc4 -o qubesmanager/qrc_resources.py resources.qrc
|
|
|
|
pyuic4 -o qubesmanager/ui_newappvmdlg.py newappvmdlg.ui
|
2011-02-21 18:15:35 +01:00
|
|
|
pyuic4 -o qubesmanager/ui_editfwrulesdlg.py editfwrulesdlg.ui
|
|
|
|
pyuic4 -o qubesmanager/ui_newfwruledlg.py newfwruledlg.ui
|
2010-06-18 16:33:26 +02:00
|
|
|
|
2011-04-04 12:59:59 +02:00
|
|
|
update-repo-current:
|
|
|
|
ln -f $(RPMS_DIR)/x86_64/qubes-manager-*$(VERSION)*.rpm ../yum/current-release/current/dom0/rpm/
|
2011-04-07 12:36:58 +02:00
|
|
|
cd ../yum && ./update_repo.sh
|
2010-06-18 16:33:26 +02:00
|
|
|
|
2011-04-04 12:59:59 +02:00
|
|
|
update-repo-unstable:
|
|
|
|
ln -f $(RPMS_DIR)/x86_64/qubes-manager-*$(VERSION)*.rpm ../yum/current-release/unstable/dom0/rpm/
|
2011-04-07 12:36:58 +02:00
|
|
|
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
|