Added "srpm" to the list of targets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1273 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
cb0cab1c68
commit
8ed13fd64c
|
@ -251,7 +251,7 @@ uninstall uninstall-root:
|
|||
|
||||
install-root uninstall-root: LDCONFIG:=ldconfig
|
||||
|
||||
.PHONY: snapshot tarball rpm
|
||||
.PHONY: snapshot tarball rpm srpm
|
||||
snapshot tarball: check-topdir clean tables windows apidocs
|
||||
@if [ $@ = snapshot ]; then ver="`date '+CVS-%Y%m%d'`"; else ver="@PACKAGE_VERSION@-@PACKAGE_RELEASE@"; fi ; \
|
||||
wd=`pwd|sed 's,^.*/,,'`; \
|
||||
|
@ -285,6 +285,9 @@ snapshot tarball: check-topdir clean tables windows apidocs
|
|||
rpm: check-root tarball
|
||||
rpmbuild -tb tarballs/yate-@PACKAGE_VERSION@-@PACKAGE_RELEASE@.tar.gz
|
||||
|
||||
srpm: check-root tarball
|
||||
rpmbuild -ta tarballs/yate-@PACKAGE_VERSION@-@PACKAGE_RELEASE@.tar.gz
|
||||
|
||||
%.o: @srcdir@/%.cpp $(MKDEPS) @srcdir@/yatengine.h
|
||||
$(COMPILE) -c $<
|
||||
|
||||
|
@ -314,4 +317,4 @@ help:
|
|||
install uninstall install-noapi install-root uninstall-root\n\
|
||||
clean distclean cvsclean (avoid this one!) clean-apidocs\n\
|
||||
debug ddebug xdebug (carefull!)\n\
|
||||
snapshot tarball rpm'
|
||||
snapshot tarball rpm srpm'
|
||||
|
|
Loading…
Reference in New Issue