2010-04-05 20:58:57 +02:00
|
|
|
RPMS_DIR=rpm/
|
2011-04-04 10:55:25 +02:00
|
|
|
|
|
|
|
VERSION_DOM0 := $(shell cat version_dom0)
|
2011-05-10 11:14:41 +02:00
|
|
|
VERSION_VAIO_FIXES := $(shell cat version_vaio_fixes)
|
2011-04-04 10:55:25 +02:00
|
|
|
|
2013-02-28 14:43:32 +01:00
|
|
|
DIST_DOM0 ?= fc18
|
2013-01-25 03:07:16 +01:00
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
help:
|
2011-04-04 10:55:25 +02:00
|
|
|
@echo "make rpms -- generate binary rpm packages"
|
2012-11-14 01:41:21 +01:00
|
|
|
@echo "make rpms-dom0 -- generate binary rpm packages for Dom0"
|
2011-04-04 10:55:25 +02:00
|
|
|
@echo "make update-repo-current -- copy newly generated rpms to qubes yum repo"
|
2011-05-09 18:40:51 +02:00
|
|
|
@echo "make update-repo-current-testing -- same, but to -current-testing repo"
|
2011-04-04 10:55:25 +02:00
|
|
|
@echo "make update-repo-unstable -- same, but to -testing repo"
|
2011-04-06 15:35:30 +02:00
|
|
|
@echo "make update-repo-installer -- copy dom0 rpms to installer repo"
|
2011-04-04 10:55:25 +02:00
|
|
|
@echo "make clean -- cleanup"
|
2010-04-05 20:58:57 +02:00
|
|
|
|
2013-03-07 04:12:37 +01:00
|
|
|
rpms: rpms-dom0
|
2012-11-07 17:58:08 +01:00
|
|
|
|
2013-03-07 04:12:37 +01:00
|
|
|
rpms-vm:
|
|
|
|
@true
|
2012-11-14 13:12:51 +01:00
|
|
|
|
2013-03-07 04:12:37 +01:00
|
|
|
rpms-dom0: rpms-vaio-fixes
|
2012-11-07 17:58:08 +01:00
|
|
|
rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/core-dom0.spec
|
|
|
|
rpm --addsign \
|
|
|
|
$(RPMS_DIR)/x86_64/qubes-core-dom0-$(VERSION_DOM0)*.rpm
|
|
|
|
|
2011-05-10 11:14:41 +02:00
|
|
|
rpms-vaio-fixes:
|
|
|
|
rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/core-dom0-vaio-fixes.spec
|
|
|
|
rpm --addsign $(RPMS_DIR)/x86_64/qubes-core-dom0-vaio-fixes-$(VERSION_VAIO_FIXES)*.rpm
|
|
|
|
|
2011-04-04 10:55:25 +02:00
|
|
|
update-repo-current:
|
2013-01-25 03:07:16 +01:00
|
|
|
ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-$(VERSION_DOM0)*$(DIST_DOM0)*.rpm ../yum/current-release/current/dom0/rpm/
|
|
|
|
ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-vaio-fixes-$(VERSION_VAIO_FIXES)*$(DIST_DOM0)*.rpm ../yum/current-release/current/dom0/rpm/
|
2010-06-14 23:45:04 +02:00
|
|
|
|
2011-05-09 18:40:51 +02:00
|
|
|
update-repo-current-testing:
|
2013-01-25 03:07:16 +01:00
|
|
|
ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-$(VERSION_DOM0)*$(DIST_DOM0)*.rpm ../yum/current-release/current-testing/dom0/rpm/
|
|
|
|
ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-vaio-fixes-$(VERSION_VAIO_FIXES)*$(DIST_DOM0)*.rpm ../yum/current-release/current-testing/dom0/rpm/
|
2011-05-09 18:40:51 +02:00
|
|
|
|
2011-04-04 10:55:25 +02:00
|
|
|
update-repo-unstable:
|
2013-01-25 03:07:16 +01:00
|
|
|
ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-$(VERSION_DOM0)*$(DIST_DOM0)*.rpm ../yum/current-release/unstable/dom0/rpm/
|
|
|
|
ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-vaio-fixes-$(VERSION_VAIO_FIXES)*$(DIST_DOM0)*.rpm ../yum/current-release/unstable/dom0/rpm/
|
2010-04-05 20:58:57 +02:00
|
|
|
|
2011-04-06 15:35:30 +02:00
|
|
|
update-repo-installer:
|
2013-01-25 03:07:16 +01:00
|
|
|
ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-*$(VERSION_DOM0)*$(DIST_DOM0)*.rpm ../installer/yum/qubes-dom0/rpm/
|
2012-11-14 15:53:42 +01:00
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
clean:
|
2012-01-06 21:31:12 +01:00
|
|
|
make -C misc clean
|