Commit 151bda4c authored by Michal Privoznik's avatar Michal Privoznik

Makefile: Introduce srpm target

Just like we have 'rpm' we might have 'srpm'.
Signed-off-by: 's avatarMichal Privoznik <mprivozn@redhat.com>
parent d2f205e6
SUBDIRS=src/ docs/
EXTRA_DIST = \
libvirt-snmp.spec libvirt-snmp.spec.in \
$(PACKAGE).spec \
$(PACKAGE).spec.in \
autobuild.sh \
autogen.sh \
AUTHORS.in \
$(NULL)
rpm: clean
@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
srpm: clean
@(unset CDPATH ; $(MAKE) dist && rpmbuild -ts $(distdir).tar.gz)
dist-hook: gen-ChangeLog gen-AUTHORS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment