Makefile.builder 863 B

12345678910111213141516171819202122
  1. ifeq ($(PACKAGE_SET),vm)
  2. RPM_SPEC_FILES := rpm_spec/core-agent.spec \
  3. rpm_spec/core-vm-doc.spec
  4. ifneq ($(filter $(DISTRIBUTION), debian qubuntu),)
  5. DEBIAN_BUILD_DIRS := debian
  6. SOURCE_COPY_IN := source-debian-quilt-copy-in
  7. endif
  8. ARCH_BUILD_DIRS := archlinux
  9. endif
  10. source-debian-quilt-copy-in: VERSION = $(shell cat $(ORIG_SRC)/version)
  11. source-debian-quilt-copy-in: ORIG_FILE = "$(CHROOT_DIR)/$(DIST_SRC)/../qubes-core-agent_$(VERSION).orig.tar.gz"
  12. source-debian-quilt-copy-in:
  13. if [ $(DIST) == trusty ] ; then \
  14. sed -i /locales-all/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\
  15. fi
  16. -$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches)
  17. tar cfz $(ORIG_FILE) --exclude-vcs --exclude=rpm --exclude=pkgs --exclude=deb --exclude=debian -C $(CHROOT_DIR)/$(DIST_SRC) .
  18. # vim: filetype=make