Makefile.builder 833 B

123456789101112131415161718192021
  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. source-debian-quilt-copy-in:
  12. if [ $(DIST) == trusty ] ; then \
  13. sed -i /locales-all/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\
  14. fi
  15. -$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches)
  16. tar cfz $(ORIG_FILE) --exclude-vcs --exclude=rpm --exclude=pkgs --exclude=deb --exclude=debian -C $(CHROOT_DIR)/$(DIST_SRC) .
  17. # vim: filetype=make