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: default avatarMichal Privoznik <[email protected]>
parent d2f205e6
SUBDIRS=src/ docs/
libvirt-snmp.spec \
$(PACKAGE).spec \
$(PACKAGE) \ \ \ \
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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment