Makefile.builder 842 B

1234567891011121314151617181920212223
  1. ifeq ($(PACKAGE_SET),vm)
  2. RPM_SPEC_FILES := rpm_spec/core-agent.spec
  3. ifneq ($(filter $(DISTRIBUTION), debian qubuntu),)
  4. DEBIAN_BUILD_DIRS := debian
  5. SOURCE_COPY_IN := source-debian-quilt-copy-in
  6. endif
  7. ARCH_BUILD_DIRS := archlinux
  8. endif
  9. source-debian-quilt-copy-in: VERSION = $(shell cat $(ORIG_SRC)/version)
  10. source-debian-quilt-copy-in: ORIG_FILE = "$(CHROOT_DIR)/$(DIST_SRC)/../qubes-core-agent_$(VERSION).orig.tar.gz"
  11. ifneq ($(filter $(DIST), jessie stretch),)
  12. source-debian-quilt-copy-in: series_ext = -$(DIST)
  13. endif
  14. source-debian-quilt-copy-in:
  15. if [[ $(DIST) == bionic || $(DIST) == focal ]] ; then \
  16. sed -i /initscripts/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\
  17. fi
  18. -$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian$(series_ext)-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches)
  19. # vim: filetype=make