qubes-core-admin-linux/Makefile

33 lines
1.0 KiB
Makefile
Raw Permalink Normal View History

RPMS_DIR=rpm/
VERSION := $(shell cat version)
VERSION_VAIO_FIXES := $(shell cat version_vaio_fixes)
DIST_DOM0 ?= fc18
help:
@echo "make rpms -- generate binary rpm packages"
@echo "make rpms-dom0 -- generate binary rpm packages for Dom0"
@echo "make update-repo-current -- copy newly generated rpms to qubes yum repo"
@echo "make update-repo-current-testing -- same, but to -current-testing repo"
@echo "make update-repo-unstable -- same, but to -testing repo"
@echo "make update-repo-installer -- copy dom0 rpms to installer repo"
@echo "make clean -- cleanup"
rpms: rpms-dom0
rpms-vm:
@true
2013-03-16 17:24:21 +00:00
rpms-dom0: rpms-vaio-fixes
rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/core-dom0-linux.spec
rpm --addsign \
$(RPMS_DIR)/x86_64/qubes-core-dom0-linux-$(VERSION)*.rpm
2013-03-16 17:24:21 +00: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
clean:
@true