Makefile.builder 799 B

1234567891011121314151617181920
  1. ifeq ($(PACKAGE_SET),vm)
  2. RPM_SPEC_FILES := rpm_spec/core-vm.spec \
  3. rpm_spec/core-vm-doc.spec \
  4. rpm_spec/core-vm-kernel-placeholder.spec
  5. ifneq ($(filter $(DISTRIBUTION), debian qubuntu),)
  6. DEBIAN_BUILD_DIRS := debian
  7. SOURCE_COPY_IN := source-debian-quilt-copy-in
  8. endif
  9. ARCH_BUILD_DIRS := archlinux
  10. endif
  11. source-debian-quilt-copy-in: VERSION = $(shell cat $(ORIG_SRC)/version)
  12. source-debian-quilt-copy-in: ORIG_FILE = "$(CHROOT_DIR)/$(DIST_SRC)/../qubes-core-agent_$(VERSION).orig.tar.gz"
  13. source-debian-quilt-copy-in:
  14. -$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches)
  15. tar cvfz $(ORIG_FILE) --exclude-vcs --exclude=deb --exclude=rpm --exclude=pkgs --exclude=debian -C $(CHROOT_DIR)/$(DIST_SRC) .
  16. # vim: filetype=make