aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/rpm/Makefile.am
blob: a8fcf76cca05f4e870f0dad2ed6d8d3e5ea487fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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."