Makefile 936 B

123456789101112131415161718192021222324252627282930
  1. RPMS_DIR=rpm/
  2. VERSION := $(shell cat version)
  3. DIST_DOM0 ?= fc18
  4. help:
  5. @echo "make rpms -- generate binary rpm packages"
  6. @echo "make rpms-dom0 -- generate binary rpm packages for Dom0"
  7. @echo "make update-repo-current -- copy newly generated rpms to qubes yum repo"
  8. @echo "make update-repo-current-testing -- same, but to -current-testing repo"
  9. @echo "make update-repo-unstable -- same, but to -testing repo"
  10. @echo "make update-repo-installer -- copy dom0 rpms to installer repo"
  11. @echo "make clean -- cleanup"
  12. rpms: rpms-dom0
  13. rpms-vm:
  14. @true
  15. rpms-dom0:
  16. rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/core-dom0.spec
  17. rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/core-dom0-doc.spec
  18. rpm --addsign \
  19. $(RPMS_DIR)/x86_64/qubes-core-dom0-$(VERSION)*.rpm \
  20. $(RPMS_DIR)/noarch/qubes-core-dom0-doc-$(VERSION)*rpm
  21. clean:
  22. make -C dispvm clean
  23. make -C qmemman clean