diff options
author | Damjan Marion <damarion@cisco.com> | 2017-04-18 15:26:39 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-04-19 20:16:14 +0000 |
commit | c06eeb0e3c9c1a9fa8f913e2d785b03220bfdabd (patch) | |
tree | 7ce8ea3eb0aa68f102922868c08470ecb2515c97 /build-data/platforms.mk | |
parent | b59a7055524bae29a328958c493d0b600776dc27 (diff) |
Fix "make dist" to include version number, docouple it from rpm packaging
Change-Id: If2f9976d668089026c97b897cf449bff09050631
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build-data/platforms.mk')
-rw-r--r-- | build-data/platforms.mk | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/build-data/platforms.mk b/build-data/platforms.mk index f491ee59571..7904cc40b5c 100644 --- a/build-data/platforms.mk +++ b/build-data/platforms.mk @@ -94,20 +94,3 @@ install-deb: $(patsubst %,%-find-source,$(ROOT_PACKAGES)) dpkg-buildpackage -us -uc -b \ ) -.PHONY: install-rpm -install-rpm: $(patsubst %,%-find-source,$(ROOT_PACKAGES)) - @$(BUILD_ENV) ; \ - set -eu$(BUILD_DEBUG) ; \ - $(MAKE) -C $(MU_BUILD_ROOT_DIR) \ - $(patsubst %,%-install, \ - $(ROOT_PACKAGES)) || exit 1; \ - \ - cd rpm ; \ - mkdir -p SOURCES ; \ - if test -f *.tar.gz ; then mv *.tar.gz SOURCES ; fi ; \ - rpmbuild -bb --define "_topdir $$PWD" --define \ - "_install_dir $(INSTALL_PREFIX)$(ARCH)" \ - --define "_mu_build_root_dir $(MU_BUILD_ROOT_DIR)" \ - vpp.spec ; \ - mv $$(find RPMS -name \*.rpm -type f) .. - |