From 8ed13fd64c79d55ad77a49b249b29fc15c284eb3 Mon Sep 17 00:00:00 2001 From: paulc Date: Fri, 13 Apr 2007 23:01:20 +0000 Subject: [PATCH] Added "srpm" to the list of targets. git-svn-id: http://yate.null.ro/svn/yate/trunk@1273 acf43c95-373e-0410-b603-e72c3f656dc1 --- Makefile.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index a5356d5b..881d6082 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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'