From 55e050383082907c3054f65063f7ba77f609ab2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Sat, 14 Oct 2017 14:54:10 +0100 Subject: autotools: refresh rpm-package target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's only so much we can/should do here, so dispense with the _topdir test. Change-Id: Ibf1170ea2cbb7c536df901db42d67da668fd64b2 Reviewed-on: https://code.wireshark.org/review/23912 Reviewed-by: João Valverde --- packaging/rpm/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'packaging/rpm') diff --git a/packaging/rpm/Makefile.am b/packaging/rpm/Makefile.am index 5282dd2934..a8fcf76cca 100644 --- a/packaging/rpm/Makefile.am +++ b/packaging/rpm/Makefile.am @@ -1,4 +1,12 @@ -SUBDIRS = SPECS + +DIST_SUBDIRS = SPECS clean-local: rm -rf BUILD RPMS SOURCES SRPMS + +all-local: + $(MKDIR_P) BUILD RPMS SOURCES SRPMS + (cd SOURCES && $(LN_S) -f $(abs_top_builddir)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.xz .) + $(RPMBUILD) --define "_topdir $(abs_builddir)" --define "_prefix $(prefix)" \ + @RPMBUILD_WITH_ARGS@ --clean -ba SPECS/wireshark.spec + @echo "Package successfully built in `pwd`/RPMS." -- cgit v1.2.3